Pull request #1097 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 hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from a0d49c3cef7ce169715d8911a88214c17b238dd1+9a649bf1bf9918af6bcd6933aa59ded149e77d26 (2932e668bfebcd8325d2da5fbbd2fd3a5f36ef28) 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-ssh7437487840981463909.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision efdbc04638cc485a1a2a98c60e49a0e43cac6f53 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-ssh6407181369951239975.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 efdbc04638cc485a1a2a98c60e49a0e43cac6f53 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-1097/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-1097/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh10672146259374995072.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-1097/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh3744337678242457493.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision efdbc04638cc485a1a2a98c60e49a0e43cac6f53 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f efdbc04638cc485a1a2a98c60e49a0e43cac6f53 # timeout=10 Commit message: "Merge pull request #376 from ernestojeda/add-ireland-release-stream" > 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-ssh16206038715915926632.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-1097/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-1097/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh3875881857153358418.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 efdbc04638cc485a1a2a98c60e49a0e43cac6f53 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.17 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-centos7-docker-4c-2g-4987’ Running on prd-centos7-docker-4c-2g-4989 in /w/workspace/gexfoundry_device-sdk-go_PR-1097 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git 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-1097 # 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-1097@tmp/jenkins-gitclient-ssh7712828174719903318.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 9a649bf1bf9918af6bcd6933aa59ded149e77d26 into PR head commit a0d49c3cef7ce169715d8911a88214c17b238dd1 > 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-1097@tmp/jenkins-gitclient-ssh2209577226826558799.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1097/head:refs/remotes/origin/PR-1097 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merge succeeded, producing a0d49c3cef7ce169715d8911a88214c17b238dd1 Checking out Revision a0d49c3cef7ce169715d8911a88214c17b238dd1 (PR-1097) > git config core.sparsecheckout # timeout=10 > git checkout -f a0d49c3cef7ce169715d8911a88214c17b238dd1 # 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-1097@tmp/jenkins-gitclient-ssh6717098570487130429.key > git merge 9a649bf1bf9918af6bcd6933aa59ded149e77d26 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a0d49c3cef7ce169715d8911a88214c17b238dd1 # timeout=10 Commit message: "feat: implement ProtocolProperties validation mechanism" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object efdbc04638cc485a1a2a98c60e49a0e43cac6f53 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-02-10T15:34:51.381Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-02-10T15:34:51.541Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-02-10T15:34:51.645Z] ========================================================= [2022-02-10T15:34:51.645Z] EdgeX Global Pipelines Version Info [2022-02-10T15:34:51.645Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-02-10T15:34:52.796Z] ------------------- [2022-02-10T15:34:52.796Z] stable info: [2022-02-10T15:34:52.796Z] ------------------- [2022-02-10T15:34:52.796Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-02-10T15:34:52.796Z] Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 [2022-02-10T15:34:52.796Z] Message: update stable to v1.0.220 [2022-02-10T15:34:53.378Z] ------------------- [2022-02-10T15:34:53.378Z] experimental info: [2022-02-10T15:34:53.378Z] ------------------- [2022-02-10T15:34:53.378Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-02-10T15:34:53.378Z] Commit SHA: efdbc04638cc485a1a2a98c60e49a0e43cac6f53 [2022-02-10T15:34:53.378Z] Message: update experimental to v1.0.220 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-02-10T15:34:53.644Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-02-10T15:34:53.684Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-02-10T15:34:53.723Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-02-10T15:34:53.762Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-02-10T15:34:53.798Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-02-10T15:34:53.838Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-02-10T15:34:53.879Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-02-10T15:34:53.918Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-02-10T15:34:53.955Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-02-10T15:34:53.990Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-02-10T15:34:54.025Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-02-10T15:34:54.061Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-02-10T15:34:54.097Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-02-10T15:34:54.138Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-02-10T15:34:54.178Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-02-10T15:34:54.220Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-02-10T15:34:54.260Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-02-10T15:34:54.296Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-02-10T15:34:54.334Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-02-10T15:34:54.369Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-02-10T15:34:54.404Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-02-10T15:34:54.439Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-02-10T15:34:54.475Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-02-10T15:34:54.513Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-02-10T15:34:54.550Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-02-10T15:34:54.585Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-02-10T15:34:54.619Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1097 [Pipeline] echo [2022-02-10T15:34:54.654Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1097 [Pipeline] echo [2022-02-10T15:34:54.690Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1097 [Pipeline] echo [2022-02-10T15:34:54.735Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a0d49c3cef7ce169715d8911a88214c17b238dd1 [Pipeline] echo [2022-02-10T15:34:54.777Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a0d49c3 [Pipeline] echo [2022-02-10T15:34:54.815Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-02-10T15:34:54.923Z] provisioning config files... [2022-02-10T15:34:54.939Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1097@tmp/config2694416221447422603tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-10T15:34:55.300Z] ---> docker-login.sh [2022-02-10T15:34:55.300Z] nexus3.edgexfoundry.org:10001 [2022-02-10T15:34:55.300Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-10T15:34:55.561Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-10T15:34:55.561Z] Configure a credential helper to remove this warning. See [2022-02-10T15:34:55.561Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-10T15:34:55.561Z] [2022-02-10T15:34:55.561Z] Login Succeeded [2022-02-10T15:34:55.561Z] nexus3.edgexfoundry.org:10002 [2022-02-10T15:34:55.561Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-10T15:34:55.561Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-10T15:34:55.561Z] Configure a credential helper to remove this warning. See [2022-02-10T15:34:55.561Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-10T15:34:55.561Z] [2022-02-10T15:34:55.561Z] Login Succeeded [2022-02-10T15:34:55.561Z] nexus3.edgexfoundry.org:10003 [2022-02-10T15:34:55.824Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-10T15:34:55.824Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-10T15:34:55.824Z] Configure a credential helper to remove this warning. See [2022-02-10T15:34:55.824Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-10T15:34:55.824Z] [2022-02-10T15:34:55.824Z] Login Succeeded [2022-02-10T15:34:55.824Z] nexus3.edgexfoundry.org:10004 [2022-02-10T15:34:55.824Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-10T15:34:55.824Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-10T15:34:55.824Z] Configure a credential helper to remove this warning. See [2022-02-10T15:34:55.824Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-10T15:34:55.824Z] [2022-02-10T15:34:55.824Z] Login Succeeded [2022-02-10T15:34:55.824Z] docker.io [2022-02-10T15:34:55.824Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-10T15:34:56.397Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-10T15:34:56.397Z] Configure a credential helper to remove this warning. See [2022-02-10T15:34:56.397Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-10T15:34:56.397Z] [2022-02-10T15:34:56.397Z] Login Succeeded [2022-02-10T15:34:56.397Z] ---> docker-login.sh ends [Pipeline] } [2022-02-10T15:34:56.418Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-02-10T15:34:57.015Z] + git rev-list -1 --merges a0d49c3cef7ce169715d8911a88214c17b238dd1~1..a0d49c3cef7ce169715d8911a88214c17b238dd1 [Pipeline] echo [2022-02-10T15:34:57.066Z] -----------> git rev-list -1 --merges a0d49c3cef7ce169715d8911a88214c17b238dd1~1..a0d49c3cef7ce169715d8911a88214c17b238dd1 a0d49c3cef7ce169715d8911a88214c17b238dd1 [false] [Pipeline] sh [2022-02-10T15:34:57.380Z] + git log --format=format:%s -1 a0d49c3cef7ce169715d8911a88214c17b238dd1 [Pipeline] echo [2022-02-10T15:34:57.419Z] ========================================================= [2022-02-10T15:34:57.419Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-02-10T15:34:57.419Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-02-10T15:34:57.851Z] + git log --format=format:%s -1 a0d49c3cef7ce169715d8911a88214c17b238dd1 [Pipeline] echo [2022-02-10T15:34:57.884Z] [semverPrep] GIT_COMMIT: a0d49c3cef7ce169715d8911a88214c17b238dd1, Commit Message: feat: implement ProtocolProperties validation mechanism [Pipeline] echo [2022-02-10T15:34:57.915Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-02-10T15:34:58.322Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-02-10T15:34:58.322Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-02-10T15:34:58.322Z] + '[' -e /tmp/ssh_known_hosts ']' [2022-02-10T15:34:58.322Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-02-10T15:34:58.322Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-02-10T15:34:58.322Z] + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' [2022-02-10T15:34:58.322Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-02-10T15:34:58.702Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-02-10T15:34:58.702Z] [2022-02-10T15:34:58.702Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-02-10T15:34:59.045Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-02-10T15:34:59.045Z] latest: Pulling from edgex-devops/git-semver [2022-02-10T15:34:59.045Z] a0d0a0d46f8b: Pulling fs layer [2022-02-10T15:34:59.045Z] 3e5f54012d9b: Pulling fs layer [2022-02-10T15:34:59.045Z] 4c7163046ea9: Pulling fs layer [2022-02-10T15:34:59.045Z] 0c2d73faf560: Pulling fs layer [2022-02-10T15:34:59.045Z] 0c2d73faf560: Waiting [2022-02-10T15:34:59.045Z] 3e5f54012d9b: Verifying Checksum [2022-02-10T15:34:59.045Z] 3e5f54012d9b: Download complete [2022-02-10T15:34:59.045Z] a0d0a0d46f8b: Verifying Checksum [2022-02-10T15:34:59.045Z] a0d0a0d46f8b: Download complete [2022-02-10T15:34:59.045Z] 0c2d73faf560: Verifying Checksum [2022-02-10T15:34:59.045Z] 0c2d73faf560: Download complete [2022-02-10T15:34:59.045Z] 4c7163046ea9: Verifying Checksum [2022-02-10T15:34:59.045Z] 4c7163046ea9: Download complete [2022-02-10T15:34:59.308Z] a0d0a0d46f8b: Pull complete [2022-02-10T15:34:59.308Z] 3e5f54012d9b: Pull complete [2022-02-10T15:34:59.585Z] 4c7163046ea9: Pull complete [2022-02-10T15:34:59.846Z] 0c2d73faf560: Pull complete [2022-02-10T15:34:59.846Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-02-10T15:34:59.846Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-02-10T15:34:59.846Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-02-10T15:34:59.956Z] prd-centos7-docker-4c-2g-4989 does not seem to be running inside a container [2022-02-10T15:34:59.998Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1097 -v /w/workspace/gexfoundry_device-sdk-go_PR-1097:/w/workspace/gexfoundry_device-sdk-go_PR-1097:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1097@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1097@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 [2022-02-10T15:35:00.629Z] $ docker top 3fcfe83db77c6cc4b3a57ea24f56d2398df19a4bf02bc868182b311ac25d98c4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-02-10T15:35:00.820Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-02-10T15:35:00.820Z] [ssh-agent] Looking for ssh-agent implementation... [2022-02-10T15:35:00.926Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-02-10T15:35:00.932Z] $ docker exec 3fcfe83db77c6cc4b3a57ea24f56d2398df19a4bf02bc868182b311ac25d98c4 ssh-agent [2022-02-10T15:35:01.028Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXoHjkDc/agent.14 [2022-02-10T15:35:01.028Z] SSH_AGENT_PID=20 [2022-02-10T15:35:01.035Z] Running ssh-add (command line suppressed) [2022-02-10T15:35:01.135Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1097@tmp/private_key_6646959746755888115.key (/w/workspace/gexfoundry_device-sdk-go_PR-1097@tmp/private_key_6646959746755888115.key) [2022-02-10T15:35:01.144Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-02-10T15:35:01.490Z] + git tag --points-at HEAD [Pipeline] } [2022-02-10T15:35:01.518Z] $ docker exec --env ******** --env ******** 3fcfe83db77c6cc4b3a57ea24f56d2398df19a4bf02bc868182b311ac25d98c4 ssh-agent -k [2022-02-10T15:35:01.611Z] unset SSH_AUTH_SOCK; [2022-02-10T15:35:01.611Z] unset SSH_AGENT_PID; [2022-02-10T15:35:01.611Z] echo Agent pid 20 killed; [2022-02-10T15:35:01.617Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-02-10T15:35:01.704Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-02-10T15:35:01.704Z] [ssh-agent] Looking for ssh-agent implementation... [2022-02-10T15:35:01.807Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-02-10T15:35:01.812Z] $ docker exec 3fcfe83db77c6cc4b3a57ea24f56d2398df19a4bf02bc868182b311ac25d98c4 ssh-agent [2022-02-10T15:35:01.912Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXikLOMF/agent.54 [2022-02-10T15:35:01.912Z] SSH_AGENT_PID=60 [2022-02-10T15:35:01.917Z] Running ssh-add (command line suppressed) [2022-02-10T15:35:02.015Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1097@tmp/private_key_7606244172160743148.key (/w/workspace/gexfoundry_device-sdk-go_PR-1097@tmp/private_key_7606244172160743148.key) [2022-02-10T15:35:02.027Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-02-10T15:35:02.368Z] + git semver init [2022-02-10T15:35:02.368Z] # -> Open(): unable to determine branch for HEAD [2022-02-10T15:35:02.368Z] # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1097/.git [2022-02-10T15:35:02.368Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1097 [2022-02-10T15:35:02.368Z] # $SEMVER_REMOTE_NAME = origin [2022-02-10T15:35:02.368Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-02-10T15:35:02.368Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-02-10T15:35:02.368Z] # $SEMVER_BRANCH = PR-1097 [2022-02-10T15:35:02.368Z] # $SEMVER_TEMP = /tmp/semver-825567830 [2022-02-10T15:35:02.368Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2022-02-10T15:35:03.311Z] # '/tmp/semver-825567830' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1097/.semver' [2022-02-10T15:35:03.311Z] # -> Force: false [2022-02-10T15:35:03.311Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1097/.semver [Pipeline] } [2022-02-10T15:35:03.341Z] $ docker exec --env ******** --env ******** 3fcfe83db77c6cc4b3a57ea24f56d2398df19a4bf02bc868182b311ac25d98c4 ssh-agent -k [2022-02-10T15:35:03.434Z] unset SSH_AUTH_SOCK; [2022-02-10T15:35:03.434Z] unset SSH_AGENT_PID; [2022-02-10T15:35:03.435Z] echo Agent pid 60 killed; [2022-02-10T15:35:03.441Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-02-10T15:35:03.875Z] + git semver [Pipeline] } [2022-02-10T15:35:03.909Z] $ docker stop --time=1 3fcfe83db77c6cc4b3a57ea24f56d2398df19a4bf02bc868182b311ac25d98c4 [2022-02-10T15:35:05.157Z] $ docker rm -f 3fcfe83db77c6cc4b3a57ea24f56d2398df19a4bf02bc868182b311ac25d98c4 [Pipeline] // withDockerContainer [Pipeline] sh [2022-02-10T15:35:05.577Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-02-10T15:35:05.866Z] Stashed 1 file(s) [Pipeline] echo [2022-02-10T15:35:05.884Z] [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] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-02-10T15:35:06.472Z] provisioning config files... [2022-02-10T15:35:06.484Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1097@tmp/config725049762827195942tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-10T15:35:06.852Z] ---> docker-login.sh [2022-02-10T15:35:06.852Z] nexus3.edgexfoundry.org:10001 [2022-02-10T15:35:06.852Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-10T15:35:06.852Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-10T15:35:06.852Z] Configure a credential helper to remove this warning. See [2022-02-10T15:35:06.852Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-10T15:35:06.852Z] [2022-02-10T15:35:06.852Z] Login Succeeded [2022-02-10T15:35:06.852Z] nexus3.edgexfoundry.org:10002 [2022-02-10T15:35:06.852Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-10T15:35:06.852Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-10T15:35:06.852Z] Configure a credential helper to remove this warning. See [2022-02-10T15:35:06.852Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-10T15:35:06.852Z] [2022-02-10T15:35:06.852Z] Login Succeeded [2022-02-10T15:35:06.852Z] nexus3.edgexfoundry.org:10003 [2022-02-10T15:35:07.115Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-10T15:35:07.115Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-10T15:35:07.115Z] Configure a credential helper to remove this warning. See [2022-02-10T15:35:07.115Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-10T15:35:07.115Z] [2022-02-10T15:35:07.115Z] Login Succeeded [2022-02-10T15:35:07.115Z] nexus3.edgexfoundry.org:10004 [2022-02-10T15:35:07.115Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-10T15:35:07.115Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-10T15:35:07.115Z] Configure a credential helper to remove this warning. See [2022-02-10T15:35:07.115Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-10T15:35:07.115Z] [2022-02-10T15:35:07.115Z] Login Succeeded [2022-02-10T15:35:07.115Z] docker.io [2022-02-10T15:35:07.115Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-10T15:35:07.690Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-10T15:35:07.691Z] Configure a credential helper to remove this warning. See [2022-02-10T15:35:07.691Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-10T15:35:07.691Z] [2022-02-10T15:35:07.691Z] Login Succeeded [2022-02-10T15:35:07.691Z] ---> docker-login.sh ends [Pipeline] } [2022-02-10T15:35:07.719Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-02-10T15:35:07.951Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-02-10T15:35:07.983Z] ========================================================= [2022-02-10T15:35:07.983Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-02-10T15:35:07.983Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-02-10T15:35:08.383Z] + 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.17-alpine --build-arg 'MAKE=echo noop' --target=builder . [2022-02-10T15:35:08.383Z] Sending build context to Docker daemon 9.513MB [2022-02-10T15:35:08.383Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-02-10T15:35:08.383Z] Step 2/11 : FROM ${BASE} AS builder [2022-02-10T15:35:08.658Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-02-10T15:35:08.658Z] 59bf1c3509f3: Pulling fs layer [2022-02-10T15:35:08.658Z] 666ba61612fd: Pulling fs layer [2022-02-10T15:35:08.658Z] 8ed8ca486205: Pulling fs layer [2022-02-10T15:35:08.658Z] 4fe6c5a15a65: Pulling fs layer [2022-02-10T15:35:08.658Z] 22a0e8bec74d: Pulling fs layer [2022-02-10T15:35:08.658Z] 640e595b4fbd: Pulling fs layer [2022-02-10T15:35:08.658Z] 763cafe07f6e: Pulling fs layer [2022-02-10T15:35:08.658Z] 0c0b528cf693: Pulling fs layer [2022-02-10T15:35:08.658Z] 10935f4eaf8b: Pulling fs layer [2022-02-10T15:35:08.658Z] 4fe6c5a15a65: Waiting [2022-02-10T15:35:08.658Z] 22a0e8bec74d: Waiting [2022-02-10T15:35:08.658Z] 640e595b4fbd: Waiting [2022-02-10T15:35:08.658Z] 763cafe07f6e: Waiting [2022-02-10T15:35:08.658Z] 0c0b528cf693: Waiting [2022-02-10T15:35:08.658Z] 10935f4eaf8b: Waiting [2022-02-10T15:35:08.658Z] 8ed8ca486205: Verifying Checksum [2022-02-10T15:35:08.658Z] 8ed8ca486205: Download complete [2022-02-10T15:35:08.658Z] 666ba61612fd: Verifying Checksum [2022-02-10T15:35:08.658Z] 666ba61612fd: Download complete [2022-02-10T15:35:08.658Z] 22a0e8bec74d: Verifying Checksum [2022-02-10T15:35:08.658Z] 22a0e8bec74d: Download complete [2022-02-10T15:35:08.658Z] 640e595b4fbd: Verifying Checksum [2022-02-10T15:35:08.658Z] 640e595b4fbd: Download complete [2022-02-10T15:35:08.658Z] 59bf1c3509f3: Verifying Checksum [2022-02-10T15:35:08.658Z] 59bf1c3509f3: Download complete [2022-02-10T15:35:08.658Z] 763cafe07f6e: Verifying Checksum [2022-02-10T15:35:08.658Z] 763cafe07f6e: Download complete [2022-02-10T15:35:08.658Z] 0c0b528cf693: Verifying Checksum [2022-02-10T15:35:08.658Z] 0c0b528cf693: Download complete [2022-02-10T15:35:09.240Z] 4fe6c5a15a65: Verifying Checksum [2022-02-10T15:35:09.240Z] 4fe6c5a15a65: Download complete [2022-02-10T15:35:09.240Z] 10935f4eaf8b: Verifying Checksum [2022-02-10T15:35:09.240Z] 10935f4eaf8b: Download complete [2022-02-10T15:35:09.240Z] 59bf1c3509f3: Pull complete [2022-02-10T15:35:09.511Z] 666ba61612fd: Pull complete [2022-02-10T15:35:09.511Z] 8ed8ca486205: Pull complete [2022-02-10T15:35:14.845Z] 4fe6c5a15a65: Pull complete [2022-02-10T15:35:14.845Z] 22a0e8bec74d: Pull complete [2022-02-10T15:35:14.845Z] 640e595b4fbd: Pull complete [2022-02-10T15:35:14.845Z] 763cafe07f6e: Pull complete [2022-02-10T15:35:14.845Z] 0c0b528cf693: Pull complete [2022-02-10T15:35:17.400Z] 10935f4eaf8b: Pull complete [2022-02-10T15:35:17.400Z] Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 [2022-02-10T15:35:17.400Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-02-10T15:35:17.400Z] ---> 99d49a6021b9 [2022-02-10T15:35:17.400Z] Step 3/11 : ARG MAKE=make build [2022-02-10T15:35:19.312Z] ---> Running in 7445483b0d70 [2022-02-10T15:35:19.312Z] Removing intermediate container 7445483b0d70 [2022-02-10T15:35:19.312Z] ---> e35fa5857c1f [2022-02-10T15:35:19.312Z] Step 4/11 : WORKDIR /device-sdk-go [2022-02-10T15:35:19.312Z] ---> Running in a5eca982f0ac [2022-02-10T15:35:19.312Z] Removing intermediate container a5eca982f0ac [2022-02-10T15:35:19.312Z] ---> 98a1a2f864d4 [2022-02-10T15:35:19.312Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-02-10T15:35:19.312Z] ---> Running in a175f52d6e7a [2022-02-10T15:35:19.312Z] Removing intermediate container a175f52d6e7a [2022-02-10T15:35:19.312Z] ---> a95ee1460652 [2022-02-10T15:35:19.312Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-02-10T15:35:19.312Z] ---> Running in f1cf07fd1073 [2022-02-10T15:35:19.577Z] Removing intermediate container f1cf07fd1073 [2022-02-10T15:35:19.578Z] ---> 927b516ae1cd [2022-02-10T15:35:19.578Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-02-10T15:35:19.852Z] ---> Running in 20aeff6155f6 [2022-02-10T15:35:20.123Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-02-10T15:35:21.069Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-02-10T15:35:21.299Z] Still waiting to schedule task [2022-02-10T15:35:21.300Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-4988’ [2022-02-10T15:35:21.640Z] OK: 221 MiB in 52 packages [2022-02-10T15:35:21.641Z] Removing intermediate container 20aeff6155f6 [2022-02-10T15:35:21.641Z] ---> f05848baf060 [2022-02-10T15:35:21.641Z] Step 8/11 : COPY go.mod vendor* ./ [2022-02-10T15:35:21.906Z] ---> 289669932dd1 [2022-02-10T15:35:21.906Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-02-10T15:35:21.906Z] ---> Running in 164550ea3fae [2022-02-10T15:35:48.529Z] Removing intermediate container 164550ea3fae [2022-02-10T15:35:48.529Z] ---> 668cd2b184b1 [2022-02-10T15:35:48.529Z] Step 10/11 : COPY . . [2022-02-10T15:35:49.103Z] ---> 6b74ea891098 [2022-02-10T15:35:49.103Z] Step 11/11 : RUN ${MAKE} [2022-02-10T15:35:49.103Z] ---> Running in fffb637cd466 [2022-02-10T15:35:49.372Z] noop [2022-02-10T15:35:49.631Z] Removing intermediate container fffb637cd466 [2022-02-10T15:35:49.631Z] ---> 2ef8caa631aa [2022-02-10T15:35:49.631Z] Successfully built 2ef8caa631aa [2022-02-10T15:35:49.631Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-02-10T15:35:49.972Z] + docker inspect -f . ci-base-image-x86_64 [2022-02-10T15:35:49.972Z] . [Pipeline] withDockerContainer [2022-02-10T15:35:50.088Z] prd-centos7-docker-4c-2g-4989 does not seem to be running inside a container [2022-02-10T15:35:50.127Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1097 -v /w/workspace/gexfoundry_device-sdk-go_PR-1097:/w/workspace/gexfoundry_device-sdk-go_PR-1097:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1097@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1097@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-02-10T15:35:50.495Z] $ docker top 9464ba9908fe4fb775a55a00b676ade9f5e78af3bf2afafd704641af1fac515a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-02-10T15:35:50.891Z] + go version [2022-02-10T15:35:50.891Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-02-10T15:35:50.924Z] $ docker stop --time=1 9464ba9908fe4fb775a55a00b676ade9f5e78af3bf2afafd704641af1fac515a [2022-02-10T15:35:52.109Z] $ docker rm -f 9464ba9908fe4fb775a55a00b676ade9f5e78af3bf2afafd704641af1fac515a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-02-10T15:35:52.767Z] + docker inspect -f . ci-base-image-x86_64 [2022-02-10T15:35:52.767Z] . [Pipeline] withDockerContainer [2022-02-10T15:35:52.849Z] prd-centos7-docker-4c-2g-4989 does not seem to be running inside a container [2022-02-10T15:35:52.882Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1097 -v /w/workspace/gexfoundry_device-sdk-go_PR-1097:/w/workspace/gexfoundry_device-sdk-go_PR-1097:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1097@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1097@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-02-10T15:35:53.252Z] $ docker top 6b175127d7f4d8b579d10d613b018f6cae7a299f04ddfe40d31a1dc8c6451d85 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-02-10T15:35:53.711Z] + make test [2022-02-10T15:35:53.711Z] GO111MODULE=on go test -coverprofile=coverage.out ./... [2022-02-10T15:35:53.974Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-02-10T15:36:08.960Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-02-10T15:36:08.960Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-02-10T15:36:08.960Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-02-10T15:36:08.960Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.014s coverage: 23.3% of statements [2022-02-10T15:36:08.960Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-02-10T15:36:09.222Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.008s coverage: 27.6% of statements [2022-02-10T15:36:09.486Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.014s coverage: 78.9% of statements [2022-02-10T15:36:09.760Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.016s coverage: 9.0% of statements [2022-02-10T15:36:09.760Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2022-02-10T15:36:09.760Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-02-10T15:36:09.760Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-02-10T15:36:10.350Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.022s coverage: 33.0% of statements [2022-02-10T15:36:10.350Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-02-10T15:36:11.303Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.015s coverage: 86.1% of statements [2022-02-10T15:36:11.303Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-02-10T15:36:11.303Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-02-10T15:36:11.303Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.016s coverage: 57.4% of statements [2022-02-10T15:36:11.303Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.032s coverage: 89.2% of statements [2022-02-10T15:36:11.303Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-02-10T15:36:11.879Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.008s coverage: 4.8% of statements [2022-02-10T15:36:11.879Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-02-10T15:36:24.228Z] GO111MODULE=on go vet ./... [2022-02-10T15:36:27.546Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-02-10T15:36:27.808Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-02-10T15:36:27.808Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-02-10T15:36:28.409Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-02-10T15:36:28.446Z] $ docker stop --time=1 6b175127d7f4d8b579d10d613b018f6cae7a299f04ddfe40d31a1dc8c6451d85 [2022-02-10T15:36:29.888Z] $ docker rm -f 6b175127d7f4d8b579d10d613b018f6cae7a299f04ddfe40d31a1dc8c6451d85 [Pipeline] // withDockerContainer [Pipeline] sh [2022-02-10T15:36:30.423Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-02-10T15:36:30.519Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-02-10T15:36:31.297Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-02-10T15:36:31.613Z] + ls -al . [2022-02-10T15:36:31.613Z] total 272 [2022-02-10T15:36:31.613Z] drwxrwxr-x. 11 jenkins jenkins 4096 Feb 10 15:36 . [2022-02-10T15:36:31.613Z] drwxrwxr-x. 4 jenkins jenkins 112 Feb 10 15:34 .. [2022-02-10T15:36:31.613Z] drwxrwxr-x. 2 jenkins jenkins 37 Feb 10 15:34 bin [2022-02-10T15:36:31.613Z] -rw-rw-r--. 1 jenkins jenkins 26321 Feb 10 15:34 CHANGELOG.md [2022-02-10T15:36:31.613Z] -rw-r--r--. 1 jenkins jenkins 129501 Feb 10 15:36 coverage.out [2022-02-10T15:36:31.613Z] -rw-rw-r--. 1 jenkins jenkins 140 Feb 10 15:34 .dockerignore [2022-02-10T15:36:31.613Z] drwxrwxr-x. 5 jenkins jenkins 62 Feb 10 15:34 example [2022-02-10T15:36:31.613Z] drwxrwxr-x. 8 jenkins jenkins 179 Feb 10 15:34 .git [2022-02-10T15:36:31.613Z] drwxrwxr-x. 3 jenkins jenkins 125 Feb 10 15:34 .github [2022-02-10T15:36:31.613Z] -rw-rw-r--. 1 jenkins jenkins 131 Feb 10 15:34 .gitignore [2022-02-10T15:36:31.613Z] -rw-rw-r--. 1 jenkins jenkins 42 Feb 10 15:34 .golangci.yml [2022-02-10T15:36:31.613Z] -rw-rw-r--. 1 jenkins jenkins 2767 Feb 10 15:34 go.mod [2022-02-10T15:36:31.613Z] -rw-rw-r--. 1 jenkins jenkins 49667 Feb 10 15:34 go.sum [2022-02-10T15:36:31.613Z] -rw-rw-r--. 1 jenkins jenkins 677 Feb 10 15:34 GOVERNANCE.md [2022-02-10T15:36:31.613Z] drwxrwxr-x. 15 jenkins jenkins 224 Feb 10 15:34 internal [2022-02-10T15:36:31.613Z] -rw-rw-r--. 1 jenkins jenkins 880 Feb 10 15:34 Jenkinsfile [2022-02-10T15:36:31.613Z] -rw-rw-r--. 1 jenkins jenkins 11341 Feb 10 15:34 LICENSE [2022-02-10T15:36:31.613Z] -rw-rw-r--. 1 jenkins jenkins 1614 Feb 10 15:34 Makefile [2022-02-10T15:36:31.613Z] drwxrwxr-x. 3 jenkins jenkins 16 Feb 10 15:34 openapi [2022-02-10T15:36:31.613Z] -rw-rw-r--. 1 jenkins jenkins 619 Feb 10 15:34 OWNERS.md [2022-02-10T15:36:31.613Z] drwxrwxr-x. 5 jenkins jenkins 50 Feb 10 15:34 pkg [2022-02-10T15:36:31.613Z] -rw-rw-r--. 1 jenkins jenkins 4881 Feb 10 15:34 README.md [2022-02-10T15:36:31.613Z] drwx------. 3 jenkins jenkins 72 Feb 10 15:35 .semver [2022-02-10T15:36:31.613Z] drwxrwxr-x. 4 jenkins jenkins 54 Feb 10 15:34 snap [2022-02-10T15:36:31.613Z] -rw-rw-r--. 1 jenkins jenkins 5 Feb 10 15:35 VERSION [2022-02-10T15:36:31.613Z] -rw-rw-r--. 1 jenkins jenkins 222 Feb 10 15:34 version.go [Pipeline] isUnix [Pipeline] sh [2022-02-10T15:36:31.956Z] + 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=a0d49c3cef7ce169715d8911a88214c17b238dd1 --label arch=amd64 --label version=0.0.0 . [2022-02-10T15:36:31.956Z] Sending build context to Docker daemon 9.643MB [2022-02-10T15:36:31.956Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-02-10T15:36:31.956Z] Step 2/25 : FROM ${BASE} AS builder [2022-02-10T15:36:31.956Z] ---> 2ef8caa631aa [2022-02-10T15:36:31.956Z] Step 3/25 : ARG MAKE=make build [2022-02-10T15:36:31.956Z] ---> Running in b70e26275f7b [2022-02-10T15:36:32.219Z] Removing intermediate container b70e26275f7b [2022-02-10T15:36:32.219Z] ---> dabccd0afcdd [2022-02-10T15:36:32.219Z] Step 4/25 : WORKDIR /device-sdk-go [2022-02-10T15:36:32.219Z] ---> Running in 27fad38b6a0f [2022-02-10T15:36:32.219Z] Removing intermediate container 27fad38b6a0f [2022-02-10T15:36:32.219Z] ---> e57ff8beb552 [2022-02-10T15:36:32.219Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-02-10T15:36:32.219Z] ---> Running in c8afe6392648 [2022-02-10T15:36:32.481Z] Removing intermediate container c8afe6392648 [2022-02-10T15:36:32.481Z] ---> c0005ad21c3b [2022-02-10T15:36:32.481Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-02-10T15:36:32.481Z] ---> Running in 2c1758c9e204 [2022-02-10T15:36:32.745Z] Removing intermediate container 2c1758c9e204 [2022-02-10T15:36:32.745Z] ---> cb0c5e12b84d [2022-02-10T15:36:32.745Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-02-10T15:36:32.745Z] ---> Running in 7e901e11094b [2022-02-10T15:36:33.004Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-02-10T15:36:33.947Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-02-10T15:36:34.520Z] OK: 221 MiB in 52 packages [2022-02-10T15:36:34.520Z] Removing intermediate container 7e901e11094b [2022-02-10T15:36:34.520Z] ---> b7716ff264de [2022-02-10T15:36:34.520Z] Step 8/25 : COPY go.mod vendor* ./ [2022-02-10T15:36:34.782Z] ---> bd680d604992 [2022-02-10T15:36:34.782Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-02-10T15:36:34.782Z] ---> Running in 72a25c1d37e2 [2022-02-10T15:36:35.351Z] Removing intermediate container 72a25c1d37e2 [2022-02-10T15:36:35.351Z] ---> 615f20d94939 [2022-02-10T15:36:35.351Z] Step 10/25 : COPY . . [2022-02-10T15:36:35.616Z] ---> c8fa82804851 [2022-02-10T15:36:35.616Z] Step 11/25 : RUN ${MAKE} [2022-02-10T15:36:35.616Z] ---> Running in 655f22c69690 [2022-02-10T15:36:35.876Z] 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 [2022-02-10T15:36:48.163Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-02-10T15:36:48.163Z] Removing intermediate container 655f22c69690 [2022-02-10T15:36:48.163Z] ---> 6432e25c860f [2022-02-10T15:36:48.163Z] Step 12/25 : FROM alpine:3.14 [2022-02-10T15:36:48.163Z] 3.14: Pulling from library/alpine [2022-02-10T15:36:48.163Z] 97518928ae5f: Pulling fs layer [2022-02-10T15:36:48.422Z] 97518928ae5f: Verifying Checksum [2022-02-10T15:36:48.422Z] 97518928ae5f: Download complete [2022-02-10T15:36:48.422Z] 97518928ae5f: Pull complete [2022-02-10T15:36:48.422Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2022-02-10T15:36:48.422Z] Status: Downloaded newer image for alpine:3.14 [2022-02-10T15:36:48.422Z] ---> 0a97eee8041e [2022-02-10T15:36:48.422Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-02-10T15:36:48.682Z] ---> Running in c8bbe4632cd4 [2022-02-10T15:36:48.682Z] Removing intermediate container c8bbe4632cd4 [2022-02-10T15:36:48.682Z] ---> c8bd64ef9112 [2022-02-10T15:36:48.682Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-02-10T15:36:48.682Z] ---> Running in c2eb604a989a [2022-02-10T15:36:49.261Z] Removing intermediate container c2eb604a989a [2022-02-10T15:36:49.261Z] ---> 826da1a0aa87 [2022-02-10T15:36:49.261Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-02-10T15:36:49.261Z] ---> Running in f80ac75631de [2022-02-10T15:36:49.522Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-02-10T15:36:50.091Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-02-10T15:36:50.661Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-02-10T15:36:50.661Z] (2/5) Installing libsodium (1.0.18-r0) [2022-02-10T15:36:50.661Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-02-10T15:36:50.921Z] (4/5) Installing libzmq (4.3.4-r0) [2022-02-10T15:36:50.921Z] (5/5) Installing zeromq (4.3.4-r0) [2022-02-10T15:36:50.921Z] Executing busybox-1.33.1-r6.trigger [2022-02-10T15:36:50.921Z] OK: 8 MiB in 19 packages [2022-02-10T15:36:51.186Z] Removing intermediate container f80ac75631de [2022-02-10T15:36:51.186Z] ---> d70e34ef6a4a [2022-02-10T15:36:51.186Z] Step 16/25 : WORKDIR / [2022-02-10T15:36:51.186Z] ---> Running in 8e2c02f072fe [2022-02-10T15:36:51.447Z] Removing intermediate container 8e2c02f072fe [2022-02-10T15:36:51.447Z] ---> 763c1409d2eb [2022-02-10T15:36:51.447Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-02-10T15:36:51.447Z] ---> 70993652f143 [2022-02-10T15:36:51.447Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-02-10T15:36:52.027Z] ---> 2f5e60b2bfda [2022-02-10T15:36:52.027Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-02-10T15:36:52.027Z] ---> 84088eb02bee [2022-02-10T15:36:52.027Z] Step 20/25 : EXPOSE 59999 [2022-02-10T15:36:52.027Z] ---> Running in dbf47ad5d9c1 [2022-02-10T15:36:52.027Z] Removing intermediate container dbf47ad5d9c1 [2022-02-10T15:36:52.027Z] ---> 809fbde52dc9 [2022-02-10T15:36:52.027Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-02-10T15:36:52.027Z] ---> Running in 97f7115a8006 [2022-02-10T15:36:52.300Z] Removing intermediate container 97f7115a8006 [2022-02-10T15:36:52.300Z] ---> 70d783a78a9c [2022-02-10T15:36:52.300Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-02-10T15:36:52.300Z] ---> Running in c475fc3edcf5 [2022-02-10T15:36:52.300Z] Removing intermediate container c475fc3edcf5 [2022-02-10T15:36:52.300Z] ---> 247cbf73d4ae [2022-02-10T15:36:52.300Z] Step 23/25 : LABEL arch=amd64 [2022-02-10T15:36:52.300Z] ---> Running in 9820bf1e5de9 [2022-02-10T15:36:52.300Z] Removing intermediate container 9820bf1e5de9 [2022-02-10T15:36:52.300Z] ---> c1e376937e5a [2022-02-10T15:36:52.300Z] Step 24/25 : LABEL git_sha=a0d49c3cef7ce169715d8911a88214c17b238dd1 [2022-02-10T15:36:52.300Z] ---> Running in d54c3143e784 [2022-02-10T15:36:52.559Z] Removing intermediate container d54c3143e784 [2022-02-10T15:36:52.559Z] ---> 5eb389109577 [2022-02-10T15:36:52.559Z] Step 25/25 : LABEL version=0.0.0 [2022-02-10T15:36:52.559Z] ---> Running in a9a670a56406 [2022-02-10T15:36:52.559Z] Removing intermediate container a9a670a56406 [2022-02-10T15:36:52.559Z] ---> b5ec5c8d9ab3 [2022-02-10T15:36:52.559Z] [Warning] One or more build-args [ARCH] were not consumed [2022-02-10T15:36:52.559Z] Successfully built b5ec5c8d9ab3 [2022-02-10T15:36:52.559Z] 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 [2022-02-10T15:36:53.278Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-02-10T15:36:53.278Z] [2022-02-10T15:36:53.278Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-02-10T15:36:53.642Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-02-10T15:36:53.643Z] latest: Pulling from edgex-lftools-log-publisher [2022-02-10T15:36:53.643Z] b4d181a07f80: Pulling fs layer [2022-02-10T15:36:53.643Z] a1111a8f2ec3: Pulling fs layer [2022-02-10T15:36:53.643Z] ed53099fbce6: Pulling fs layer [2022-02-10T15:36:53.643Z] dc539afda2c1: Pulling fs layer [2022-02-10T15:36:53.643Z] 77bc0d833cb6: Pulling fs layer [2022-02-10T15:36:53.643Z] 9065ff56babe: Pulling fs layer [2022-02-10T15:36:53.643Z] d287ab97295c: Pulling fs layer [2022-02-10T15:36:53.643Z] dc539afda2c1: Waiting [2022-02-10T15:36:53.643Z] 77bc0d833cb6: Waiting [2022-02-10T15:36:53.643Z] 9065ff56babe: Waiting [2022-02-10T15:36:53.643Z] d287ab97295c: Waiting [2022-02-10T15:36:53.643Z] a1111a8f2ec3: Verifying Checksum [2022-02-10T15:36:53.643Z] a1111a8f2ec3: Download complete [2022-02-10T15:36:53.643Z] dc539afda2c1: Verifying Checksum [2022-02-10T15:36:53.643Z] dc539afda2c1: Download complete [2022-02-10T15:36:53.643Z] ed53099fbce6: Verifying Checksum [2022-02-10T15:36:53.643Z] ed53099fbce6: Download complete [2022-02-10T15:36:53.907Z] 9065ff56babe: Verifying Checksum [2022-02-10T15:36:53.907Z] 9065ff56babe: Download complete [2022-02-10T15:36:53.907Z] 77bc0d833cb6: Verifying Checksum [2022-02-10T15:36:53.907Z] 77bc0d833cb6: Download complete [2022-02-10T15:36:53.907Z] b4d181a07f80: Verifying Checksum [2022-02-10T15:36:53.907Z] b4d181a07f80: Download complete [2022-02-10T15:36:54.485Z] d287ab97295c: Verifying Checksum [2022-02-10T15:36:54.485Z] d287ab97295c: Download complete [2022-02-10T15:36:55.430Z] b4d181a07f80: Pull complete [2022-02-10T15:36:55.430Z] a1111a8f2ec3: Pull complete [2022-02-10T15:36:56.009Z] ed53099fbce6: Pull complete [2022-02-10T15:36:56.009Z] dc539afda2c1: Pull complete [2022-02-10T15:36:56.273Z] 77bc0d833cb6: Pull complete [2022-02-10T15:36:56.548Z] 9065ff56babe: Pull complete [2022-02-10T15:37:01.851Z] d287ab97295c: Pull complete [2022-02-10T15:37:01.851Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2022-02-10T15:37:01.851Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-02-10T15:37:01.851Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-02-10T15:37:01.961Z] prd-centos7-docker-4c-2g-4989 does not seem to be running inside a container [2022-02-10T15:37:01.999Z] $ 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/gexfoundry_device-sdk-go_PR-1097 -v /w/workspace/gexfoundry_device-sdk-go_PR-1097:/w/workspace/gexfoundry_device-sdk-go_PR-1097:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1097@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1097@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-02-10T15:37:04.516Z] $ docker top cb3a062c8bbe4fa278e5c8877bd47bede9e2dfdc4e1b33119bd62c0cab1dc90f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-10T15:37:05.151Z] ---> job-cost.sh [2022-02-10T15:37:05.151Z] lf-activate-venv: SKIPPING [2022-02-10T15:37:05.151Z] INFO: No Stack... [2022-02-10T15:37:05.500Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-02-10T15:37:05.799Z] INFO: Archiving Costs [Pipeline] sh [2022-02-10T15:37:06.139Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1097/archives/cost.csv [2022-02-10T15:37:06.139Z] + cut -d, -f6 [Pipeline] lock [2022-02-10T15:37:06.179Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1097-1-stack-cost] [2022-02-10T15:37:06.184Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1097-1-stack-cost] did not exist. Created. [2022-02-10T15:37:06.184Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1097-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-02-10T15:37:06.574Z] + echo total: 0.05999999865889549 [Pipeline] stash [2022-02-10T15:37:06.633Z] Stashed 1 file(s) [Pipeline] } [2022-02-10T15:37:06.655Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1097-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-02-10T15:37:06.731Z] $ docker stop --time=1 cb3a062c8bbe4fa278e5c8877bd47bede9e2dfdc4e1b33119bd62c0cab1dc90f [2022-02-10T15:37:07.858Z] $ docker rm -f cb3a062c8bbe4fa278e5c8877bd47bede9e2dfdc4e1b33119bd62c0cab1dc90f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-02-10T15:37:51.853Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-4992 in /w/workspace/gexfoundry_device-sdk-go_PR-1097 [Pipeline] { [Pipeline] ws [2022-02-10T15:37:51.895Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2022-02-10T15:37:52.108Z] The recommended git tool is: git [2022-02-10T15:37:57.187Z] using credential edgex-jenkins-ssh [2022-02-10T15:37:57.204Z] Cloning the remote Git repository [2022-02-10T15:37:57.260Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-02-10T15:37:57.343Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2022-02-10T15:37:57.447Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-02-10T15:37:57.448Z] > git --version # timeout=10 [2022-02-10T15:37:57.466Z] > git --version # 'git version 2.17.1' [2022-02-10T15:37:57.468Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-02-10T15:37:57.562Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-02-10T15:37:59.108Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-02-10T15:37:59.175Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-02-10T15:37:59.237Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-02-10T15:37:59.321Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-02-10T15:37:59.324Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-02-10T15:37:59.364Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1097/head:refs/remotes/origin/PR-1097 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-02-10T15:38:00.114Z] Merging remotes/origin/main commit 9a649bf1bf9918af6bcd6933aa59ded149e77d26 into PR head commit a0d49c3cef7ce169715d8911a88214c17b238dd1 [2022-02-10T15:38:00.383Z] Merge succeeded, producing a0d49c3cef7ce169715d8911a88214c17b238dd1 [2022-02-10T15:38:00.384Z] Checking out Revision a0d49c3cef7ce169715d8911a88214c17b238dd1 (PR-1097) [2022-02-10T15:38:00.136Z] > git config core.sparsecheckout # timeout=10 [2022-02-10T15:38:00.162Z] > git checkout -f a0d49c3cef7ce169715d8911a88214c17b238dd1 # timeout=10 [2022-02-10T15:38:00.288Z] > git remote # timeout=10 [2022-02-10T15:38:00.308Z] > git config --get remote.origin.url # timeout=10 [2022-02-10T15:38:00.325Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-02-10T15:38:00.338Z] > git merge 9a649bf1bf9918af6bcd6933aa59ded149e77d26 # timeout=10 [2022-02-10T15:38:00.364Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-02-10T15:38:00.388Z] > git config core.sparsecheckout # timeout=10 [2022-02-10T15:38:00.402Z] > git checkout -f a0d49c3cef7ce169715d8911a88214c17b238dd1 # timeout=10 [2022-02-10T15:38:04.680Z] Commit message: "feat: implement ProtocolProperties validation mechanism" [2022-02-10T15:38:04.734Z] > git --version # timeout=10 [2022-02-10T15:38:04.744Z] > git --version # 'git version 2.17.1' [2022-02-10T15:38:04.758Z] fatal: bad object efdbc04638cc485a1a2a98c60e49a0e43cac6f53 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-02-10T15:38:05.974Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-02-10T15:38:05.974Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-02-10T15:38:05.974Z] Dload Upload Total Spent Left Speed [2022-02-10T15:38:05.974Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 76406 0 --:--:-- --:--:-- --:--:-- 76406 [Pipeline] sh [2022-02-10T15:38:06.540Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-02-10T15:38:06.905Z] + sudo jq+ . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-02-10T15:38:06.905Z] sudo tee /etc/docker/daemon.new [2022-02-10T15:38:06.905Z] { [2022-02-10T15:38:06.905Z] "registry-mirrors": [ [2022-02-10T15:38:06.905Z] "https://nexus3.edgexfoundry.org:10001" [2022-02-10T15:38:06.905Z] ], [2022-02-10T15:38:06.905Z] "bip": "10.250.0.254/24", [2022-02-10T15:38:06.905Z] "hosts": [ [2022-02-10T15:38:06.905Z] "tcp://0.0.0.0:5555", [2022-02-10T15:38:06.905Z] "unix:///var/run/docker.sock" [2022-02-10T15:38:06.905Z] ], [2022-02-10T15:38:06.905Z] "mtu": 1458, [2022-02-10T15:38:06.905Z] "selinux-enabled": true, [2022-02-10T15:38:06.905Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-02-10T15:38:06.905Z] } [Pipeline] sh [2022-02-10T15:38:07.268Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-02-10T15:38:07.723Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-02-10T15:38:26.118Z] provisioning config files... [2022-02-10T15:38:26.146Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config6230472625528618819tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-10T15:38:26.565Z] ---> docker-login.sh [2022-02-10T15:38:26.565Z] nexus3.edgexfoundry.org:10001 [2022-02-10T15:38:27.161Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-10T15:38:27.435Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-10T15:38:27.435Z] Configure a credential helper to remove this warning. See [2022-02-10T15:38:27.435Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-10T15:38:27.435Z] [2022-02-10T15:38:27.435Z] Login Succeeded [2022-02-10T15:38:27.435Z] nexus3.edgexfoundry.org:10002 [2022-02-10T15:38:28.034Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-10T15:38:28.034Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-10T15:38:28.034Z] Configure a credential helper to remove this warning. See [2022-02-10T15:38:28.034Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-10T15:38:28.034Z] [2022-02-10T15:38:28.034Z] Login Succeeded [2022-02-10T15:38:28.034Z] nexus3.edgexfoundry.org:10003 [2022-02-10T15:38:28.311Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-10T15:38:28.675Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-10T15:38:28.675Z] Configure a credential helper to remove this warning. See [2022-02-10T15:38:28.675Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-10T15:38:28.675Z] [2022-02-10T15:38:28.675Z] Login Succeeded [2022-02-10T15:38:28.675Z] nexus3.edgexfoundry.org:10004 [2022-02-10T15:38:28.956Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-10T15:38:28.956Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-10T15:38:28.956Z] Configure a credential helper to remove this warning. See [2022-02-10T15:38:28.956Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-10T15:38:28.956Z] [2022-02-10T15:38:28.956Z] Login Succeeded [2022-02-10T15:38:28.956Z] docker.io [2022-02-10T15:38:29.553Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-02-10T15:38:29.827Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-02-10T15:38:29.827Z] Configure a credential helper to remove this warning. See [2022-02-10T15:38:29.827Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-02-10T15:38:29.827Z] [2022-02-10T15:38:29.827Z] Login Succeeded [2022-02-10T15:38:29.827Z] ---> docker-login.sh ends [Pipeline] } [2022-02-10T15:38:29.856Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-02-10T15:38:30.266Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-02-10T15:38:30.300Z] ========================================================= [2022-02-10T15:38:30.301Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-02-10T15:38:30.301Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-02-10T15:38:30.753Z] + 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.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-02-10T15:38:31.368Z] Sending build context to Docker daemon 5.162MB [2022-02-10T15:38:31.368Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-02-10T15:38:31.368Z] Step 2/11 : FROM ${BASE} AS builder [2022-02-10T15:38:31.368Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-02-10T15:38:31.368Z] 9b3977197b4f: Pulling fs layer [2022-02-10T15:38:31.368Z] 1a89e8eeedd5: Pulling fs layer [2022-02-10T15:38:31.368Z] 94645a83ff95: Pulling fs layer [2022-02-10T15:38:31.368Z] 3f3a8bcf1eab: Pulling fs layer [2022-02-10T15:38:31.368Z] 0c92f367c5e7: Pulling fs layer [2022-02-10T15:38:31.368Z] 3f3a8bcf1eab: Waiting [2022-02-10T15:38:31.368Z] f7c0051592d6: Pulling fs layer [2022-02-10T15:38:31.368Z] a227ed2f7395: Pulling fs layer [2022-02-10T15:38:31.368Z] 0c92f367c5e7: Waiting [2022-02-10T15:38:31.368Z] f7c0051592d6: Waiting [2022-02-10T15:38:31.368Z] a227ed2f7395: Waiting [2022-02-10T15:38:31.368Z] 7b1c46037f91: Pulling fs layer [2022-02-10T15:38:31.368Z] 94645a83ff95: Verifying Checksum [2022-02-10T15:38:31.368Z] 94645a83ff95: Download complete [2022-02-10T15:38:31.368Z] 1a89e8eeedd5: Verifying Checksum [2022-02-10T15:38:31.368Z] 1a89e8eeedd5: Download complete [2022-02-10T15:38:31.368Z] 0c92f367c5e7: Verifying Checksum [2022-02-10T15:38:31.368Z] 0c92f367c5e7: Download complete [2022-02-10T15:38:31.642Z] f7c0051592d6: Verifying Checksum [2022-02-10T15:38:31.642Z] f7c0051592d6: Download complete [2022-02-10T15:38:31.642Z] 9b3977197b4f: Verifying Checksum [2022-02-10T15:38:31.642Z] 9b3977197b4f: Download complete [2022-02-10T15:38:31.642Z] a227ed2f7395: Verifying Checksum [2022-02-10T15:38:31.642Z] a227ed2f7395: Download complete [2022-02-10T15:38:32.244Z] 9b3977197b4f: Pull complete [2022-02-10T15:38:32.847Z] 1a89e8eeedd5: Pull complete [2022-02-10T15:38:33.443Z] 94645a83ff95: Pull complete [2022-02-10T15:38:33.443Z] 7b1c46037f91: Verifying Checksum [2022-02-10T15:38:33.443Z] 7b1c46037f91: Download complete [2022-02-10T15:38:34.039Z] 3f3a8bcf1eab: Verifying Checksum [2022-02-10T15:38:34.039Z] 3f3a8bcf1eab: Download complete [2022-02-10T15:38:46.438Z] 3f3a8bcf1eab: Pull complete [2022-02-10T15:38:46.438Z] 0c92f367c5e7: Pull complete [2022-02-10T15:38:46.438Z] f7c0051592d6: Pull complete [2022-02-10T15:38:46.438Z] a227ed2f7395: Pull complete [2022-02-10T15:38:51.883Z] 7b1c46037f91: Pull complete [2022-02-10T15:38:51.883Z] Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe [2022-02-10T15:38:51.883Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-02-10T15:38:51.883Z] ---> f79e39bc4007 [2022-02-10T15:38:51.883Z] Step 3/11 : ARG MAKE=make build [2022-02-10T15:38:53.312Z] ---> Running in 38d466fc6f47 [2022-02-10T15:38:53.585Z] Removing intermediate container 38d466fc6f47 [2022-02-10T15:38:53.585Z] ---> 6f716db9fe85 [2022-02-10T15:38:53.585Z] Step 4/11 : WORKDIR /device-sdk-go [2022-02-10T15:38:53.585Z] ---> Running in 2cf2124f36d3 [2022-02-10T15:38:54.181Z] Removing intermediate container 2cf2124f36d3 [2022-02-10T15:38:54.181Z] ---> a32794750664 [2022-02-10T15:38:54.181Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-02-10T15:38:54.181Z] ---> Running in a6caf9eefd70 [2022-02-10T15:38:54.775Z] Removing intermediate container a6caf9eefd70 [2022-02-10T15:38:54.775Z] ---> ab8a6f29434b [2022-02-10T15:38:54.775Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-02-10T15:38:54.775Z] ---> Running in 14c75c490f6a [2022-02-10T15:38:57.395Z] Removing intermediate container 14c75c490f6a [2022-02-10T15:38:57.395Z] ---> 3886e8c0ec3f [2022-02-10T15:38:57.395Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-02-10T15:38:57.395Z] ---> Running in cfe59e841b98 [2022-02-10T15:38:58.373Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-02-10T15:38:59.360Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-02-10T15:39:00.341Z] OK: 220 MiB in 52 packages [2022-02-10T15:39:01.322Z] Removing intermediate container cfe59e841b98 [2022-02-10T15:39:01.322Z] ---> c63fb4a1e2e9 [2022-02-10T15:39:01.322Z] Step 8/11 : COPY go.mod vendor* ./ [2022-02-10T15:39:01.923Z] ---> e872754e5b29 [2022-02-10T15:39:01.923Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-02-10T15:39:01.923Z] ---> Running in 8f212b97dbf3 [2022-02-10T15:40:23.740Z] Removing intermediate container 8f212b97dbf3 [2022-02-10T15:40:23.740Z] ---> f726907c6ffb [2022-02-10T15:40:23.740Z] Step 10/11 : COPY . . [2022-02-10T15:40:23.740Z] ---> 613d59a5022c [2022-02-10T15:40:23.740Z] Step 11/11 : RUN ${MAKE} [2022-02-10T15:40:23.740Z] ---> Running in aa285d3fbe35 [2022-02-10T15:40:23.740Z] noop [2022-02-10T15:40:23.740Z] Removing intermediate container aa285d3fbe35 [2022-02-10T15:40:23.740Z] ---> 441c2e9b03f2 [2022-02-10T15:40:23.740Z] Successfully built 441c2e9b03f2 [2022-02-10T15:40:23.740Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-02-10T15:40:24.117Z] + docker inspect -f . ci-base-image-arm64 [2022-02-10T15:40:24.117Z] . [Pipeline] withDockerContainer [2022-02-10T15:40:24.370Z] prd-ubuntu18.04-docker-arm64-4c-16g-4992 does not seem to be running inside a container [2022-02-10T15:40:24.449Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-02-10T15:40:25.874Z] $ docker top 3b0ba59f455651b743903c1799d14ae5a0e10851b7b6b1c17cc95ed0a7664330 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-02-10T15:40:26.847Z] + go version [2022-02-10T15:40:26.847Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-02-10T15:40:26.895Z] $ docker stop --time=1 3b0ba59f455651b743903c1799d14ae5a0e10851b7b6b1c17cc95ed0a7664330 [2022-02-10T15:40:28.633Z] $ docker rm -f 3b0ba59f455651b743903c1799d14ae5a0e10851b7b6b1c17cc95ed0a7664330 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-02-10T15:40:29.541Z] + docker inspect -f . ci-base-image-arm64 [2022-02-10T15:40:29.541Z] . [Pipeline] withDockerContainer [2022-02-10T15:40:29.797Z] prd-ubuntu18.04-docker-arm64-4c-16g-4992 does not seem to be running inside a container [2022-02-10T15:40:29.875Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-02-10T15:40:31.236Z] $ docker top 561b33dc62d633ad701bf1b00ce4d4f55220abe326917b43ec7b4c0d6f0105b3 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-02-10T15:40:32.277Z] + make test [2022-02-10T15:40:32.277Z] GO111MODULE=on go test -coverprofile=coverage.out ./... [2022-02-10T15:40:33.721Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-02-10T15:41:30.364Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-02-10T15:41:30.364Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-02-10T15:41:30.364Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-02-10T15:41:33.015Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.147s coverage: 23.3% of statements [2022-02-10T15:41:33.015Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-02-10T15:41:33.015Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.096s coverage: 27.6% of statements [2022-02-10T15:41:33.015Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.080s coverage: 78.9% of statements [2022-02-10T15:41:33.015Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.069s coverage: 9.0% of statements [2022-02-10T15:41:33.015Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2022-02-10T15:41:33.015Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-02-10T15:41:33.015Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-02-10T15:41:35.005Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.186s coverage: 33.0% of statements [2022-02-10T15:41:35.005Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-02-10T15:41:35.998Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.095s coverage: 86.1% of statements [2022-02-10T15:41:35.998Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-02-10T15:41:35.998Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-02-10T15:41:35.998Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.106s coverage: 57.4% of statements [2022-02-10T15:41:36.601Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.175s coverage: 89.2% of statements [2022-02-10T15:41:36.601Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-02-10T15:41:38.577Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.054s coverage: 4.8% of statements [2022-02-10T15:41:38.577Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-02-10T15:41:38.852Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-02-10T15:41:38.852Z] GO111MODULE=on go vet ./... [2022-02-10T15:42:05.683Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-02-10T15:42:05.683Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-02-10T15:42:05.683Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-02-10T15:42:05.725Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-02-10T15:42:05.748Z] $ docker stop --time=1 561b33dc62d633ad701bf1b00ce4d4f55220abe326917b43ec7b4c0d6f0105b3 [2022-02-10T15:42:07.504Z] $ docker rm -f 561b33dc62d633ad701bf1b00ce4d4f55220abe326917b43ec7b4c0d6f0105b3 [Pipeline] // withDockerContainer [Pipeline] sh [2022-02-10T15:42:08.473Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-02-10T15:42:08.509Z] Warning: overwriting stash ‘coverage-report’ [2022-02-10T15:42:09.166Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-02-10T15:42:09.770Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-02-10T15:42:10.125Z] + ls -al . [2022-02-10T15:42:10.125Z] total 308 [2022-02-10T15:42:10.125Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 10 15:42 . [2022-02-10T15:42:10.125Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 10 15:37 .. [2022-02-10T15:42:10.125Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 10 15:38 .dockerignore [2022-02-10T15:42:10.125Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 10 15:38 .git [2022-02-10T15:42:10.125Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 10 15:38 .github [2022-02-10T15:42:10.125Z] -rw-rw-r-- 1 jenkins jenkins 131 Feb 10 15:38 .gitignore [2022-02-10T15:42:10.125Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 10 15:38 .golangci.yml [2022-02-10T15:42:10.125Z] -rw-rw-r-- 1 jenkins jenkins 26321 Feb 10 15:38 CHANGELOG.md [2022-02-10T15:42:10.125Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 10 15:38 GOVERNANCE.md [2022-02-10T15:42:10.125Z] -rw-rw-r-- 1 jenkins jenkins 880 Feb 10 15:38 Jenkinsfile [2022-02-10T15:42:10.125Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 10 15:38 LICENSE [2022-02-10T15:42:10.125Z] -rw-rw-r-- 1 jenkins jenkins 1614 Feb 10 15:38 Makefile [2022-02-10T15:42:10.125Z] -rw-rw-r-- 1 jenkins jenkins 619 Feb 10 15:38 OWNERS.md [2022-02-10T15:42:10.125Z] -rw-rw-r-- 1 jenkins jenkins 4881 Feb 10 15:38 README.md [2022-02-10T15:42:10.125Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 10 15:35 VERSION [2022-02-10T15:42:10.125Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 10 15:38 bin [2022-02-10T15:42:10.125Z] -rw-r--r-- 1 jenkins jenkins 129501 Feb 10 15:41 coverage.out [2022-02-10T15:42:10.125Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 10 15:38 example [2022-02-10T15:42:10.125Z] -rw-rw-r-- 1 jenkins jenkins 2767 Feb 10 15:38 go.mod [2022-02-10T15:42:10.125Z] -rw-rw-r-- 1 jenkins jenkins 49667 Feb 10 15:38 go.sum [2022-02-10T15:42:10.125Z] drwxrwxr-x 15 jenkins jenkins 4096 Feb 10 15:38 internal [2022-02-10T15:42:10.125Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 10 15:38 openapi [2022-02-10T15:42:10.125Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 10 15:38 pkg [2022-02-10T15:42:10.125Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 10 15:38 snap [2022-02-10T15:42:10.125Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 10 15:38 version.go [Pipeline] isUnix [Pipeline] sh [2022-02-10T15:42:10.511Z] + 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=a0d49c3cef7ce169715d8911a88214c17b238dd1 --label arch=arm64 --label version=0.0.0 . [2022-02-10T15:42:11.117Z] Sending build context to Docker daemon 5.292MB [2022-02-10T15:42:11.117Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-02-10T15:42:11.117Z] Step 2/25 : FROM ${BASE} AS builder [2022-02-10T15:42:11.117Z] ---> 441c2e9b03f2 [2022-02-10T15:42:11.117Z] Step 3/25 : ARG MAKE=make build [2022-02-10T15:42:11.390Z] ---> Running in a5c21d77cb4e [2022-02-10T15:42:11.662Z] Removing intermediate container a5c21d77cb4e [2022-02-10T15:42:11.662Z] ---> 6d26d87bef8e [2022-02-10T15:42:11.662Z] Step 4/25 : WORKDIR /device-sdk-go [2022-02-10T15:42:11.662Z] ---> Running in b06a7dc4e3c2 [2022-02-10T15:42:12.262Z] Removing intermediate container b06a7dc4e3c2 [2022-02-10T15:42:12.262Z] ---> 32fa76d0fac5 [2022-02-10T15:42:12.262Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-02-10T15:42:12.262Z] ---> Running in ce454359a511 [2022-02-10T15:42:12.535Z] Removing intermediate container ce454359a511 [2022-02-10T15:42:12.535Z] ---> ddb4ea71f742 [2022-02-10T15:42:12.535Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-02-10T15:42:12.811Z] ---> Running in 13eb2ec88e6d [2022-02-10T15:42:14.794Z] Removing intermediate container 13eb2ec88e6d [2022-02-10T15:42:14.794Z] ---> de7de30682c9 [2022-02-10T15:42:14.794Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-02-10T15:42:14.794Z] ---> Running in 53e15c805e7e [2022-02-10T15:42:15.774Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-02-10T15:42:16.752Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-02-10T15:42:19.381Z] OK: 220 MiB in 52 packages [2022-02-10T15:42:20.363Z] Removing intermediate container 53e15c805e7e [2022-02-10T15:42:20.363Z] ---> fe62e7a40af6 [2022-02-10T15:42:20.363Z] Step 8/25 : COPY go.mod vendor* ./ [2022-02-10T15:42:20.962Z] ---> 509ad8c07467 [2022-02-10T15:42:20.962Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-02-10T15:42:20.962Z] ---> Running in 407c10fc2c67 [2022-02-10T15:42:23.578Z] Removing intermediate container 407c10fc2c67 [2022-02-10T15:42:23.578Z] ---> 2ddb25b94ca7 [2022-02-10T15:42:23.578Z] Step 10/25 : COPY . . [2022-02-10T15:42:24.563Z] ---> 3383075fe7bd [2022-02-10T15:42:24.563Z] Step 11/25 : RUN ${MAKE} [2022-02-10T15:42:24.839Z] ---> Running in ab8ee5cc276a [2022-02-10T15:42:25.824Z] 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 [2022-02-10T15:43:12.857Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-02-10T15:43:12.857Z] Removing intermediate container ab8ee5cc276a [2022-02-10T15:43:12.857Z] ---> 85bdf49ebc53 [2022-02-10T15:43:12.857Z] Step 12/25 : FROM alpine:3.14 [2022-02-10T15:43:12.857Z] 3.14: Pulling from library/alpine [2022-02-10T15:43:12.857Z] be307f383ecc: Pulling fs layer [2022-02-10T15:43:12.857Z] be307f383ecc: Verifying Checksum [2022-02-10T15:43:12.857Z] be307f383ecc: Download complete [2022-02-10T15:43:12.857Z] be307f383ecc: Pull complete [2022-02-10T15:43:12.857Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2022-02-10T15:43:12.857Z] Status: Downloaded newer image for alpine:3.14 [2022-02-10T15:43:12.857Z] ---> 5b8b7b635229 [2022-02-10T15:43:12.857Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-02-10T15:43:12.857Z] ---> Running in 5183c42c1ff9 [2022-02-10T15:43:12.857Z] Removing intermediate container 5183c42c1ff9 [2022-02-10T15:43:12.857Z] ---> d07b30fb7b76 [2022-02-10T15:43:12.857Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-02-10T15:43:12.857Z] ---> Running in ed40d1390e15 [2022-02-10T15:43:13.456Z] Removing intermediate container ed40d1390e15 [2022-02-10T15:43:13.456Z] ---> 1f2c9cb1da48 [2022-02-10T15:43:13.456Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-02-10T15:43:13.456Z] ---> Running in d2ede0fd7be6 [2022-02-10T15:43:14.894Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-02-10T15:43:15.873Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-02-10T15:43:16.470Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-02-10T15:43:16.470Z] (2/5) Installing libsodium (1.0.18-r0) [2022-02-10T15:43:16.743Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-02-10T15:43:17.019Z] (4/5) Installing libzmq (4.3.4-r0) [2022-02-10T15:43:17.019Z] (5/5) Installing zeromq (4.3.4-r0) [2022-02-10T15:43:17.019Z] Executing busybox-1.33.1-r6.trigger [2022-02-10T15:43:17.019Z] OK: 8 MiB in 19 packages [2022-02-10T15:43:18.458Z] Removing intermediate container d2ede0fd7be6 [2022-02-10T15:43:18.458Z] ---> 8ed18aea810b [2022-02-10T15:43:18.458Z] Step 16/25 : WORKDIR / [2022-02-10T15:43:18.458Z] ---> Running in 2f8f829c9fc1 [2022-02-10T15:43:18.734Z] Removing intermediate container 2f8f829c9fc1 [2022-02-10T15:43:18.734Z] ---> 277d01f29792 [2022-02-10T15:43:18.734Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-02-10T15:43:19.334Z] ---> 090047758671 [2022-02-10T15:43:19.334Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-02-10T15:43:20.777Z] ---> 5ffa5e61ad67 [2022-02-10T15:43:20.777Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-02-10T15:43:21.374Z] ---> 7bdeedd2430f [2022-02-10T15:43:21.374Z] Step 20/25 : EXPOSE 59999 [2022-02-10T15:43:21.374Z] ---> Running in 7ee83690d42e [2022-02-10T15:43:21.648Z] Removing intermediate container 7ee83690d42e [2022-02-10T15:43:21.648Z] ---> dde4b05a4e92 [2022-02-10T15:43:21.648Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-02-10T15:43:21.922Z] ---> Running in 3d9e0f773157 [2022-02-10T15:43:22.198Z] Removing intermediate container 3d9e0f773157 [2022-02-10T15:43:22.198Z] ---> d5553b7589f5 [2022-02-10T15:43:22.198Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-02-10T15:43:22.198Z] ---> Running in 044a4ffd0f07 [2022-02-10T15:43:22.802Z] Removing intermediate container 044a4ffd0f07 [2022-02-10T15:43:22.802Z] ---> ce69bc4ce292 [2022-02-10T15:43:22.802Z] Step 23/25 : LABEL arch=arm64 [2022-02-10T15:43:22.802Z] ---> Running in de4bb501e607 [2022-02-10T15:43:23.075Z] Removing intermediate container de4bb501e607 [2022-02-10T15:43:23.075Z] ---> c56286d36dca [2022-02-10T15:43:23.075Z] Step 24/25 : LABEL git_sha=a0d49c3cef7ce169715d8911a88214c17b238dd1 [2022-02-10T15:43:23.350Z] ---> Running in e5948bb7cceb [2022-02-10T15:43:23.623Z] Removing intermediate container e5948bb7cceb [2022-02-10T15:43:23.623Z] ---> e1ad61f45448 [2022-02-10T15:43:23.623Z] Step 25/25 : LABEL version=0.0.0 [2022-02-10T15:43:23.623Z] ---> Running in 662a00ed18b9 [2022-02-10T15:43:24.220Z] Removing intermediate container 662a00ed18b9 [2022-02-10T15:43:24.220Z] ---> dbbba04b2403 [2022-02-10T15:43:24.220Z] [Warning] One or more build-args [ARCH] were not consumed [2022-02-10T15:43:24.220Z] Successfully built dbbba04b2403 [2022-02-10T15:43:24.220Z] 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 [2022-02-10T15:43:24.927Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-02-10T15:43:24.928Z] [2022-02-10T15:43:24.928Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-02-10T15:43:25.322Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-02-10T15:43:25.600Z] arm64: Pulling from edgex-lftools-log-publisher [2022-02-10T15:43:25.600Z] 448f6bf000e3: Pulling fs layer [2022-02-10T15:43:25.600Z] f757da607395: Pulling fs layer [2022-02-10T15:43:25.600Z] 05883995daec: Pulling fs layer [2022-02-10T15:43:25.600Z] 8603b9c90790: Pulling fs layer [2022-02-10T15:43:25.600Z] 1560dd03e051: Pulling fs layer [2022-02-10T15:43:25.600Z] 27f5ce0e4adf: Pulling fs layer [2022-02-10T15:43:25.600Z] c2d8d7efcc4b: Pulling fs layer [2022-02-10T15:43:25.600Z] 8603b9c90790: Waiting [2022-02-10T15:43:25.600Z] 1560dd03e051: Waiting [2022-02-10T15:43:25.600Z] 27f5ce0e4adf: Waiting [2022-02-10T15:43:25.600Z] c2d8d7efcc4b: Waiting [2022-02-10T15:43:25.600Z] f757da607395: Verifying Checksum [2022-02-10T15:43:25.600Z] f757da607395: Download complete [2022-02-10T15:43:25.600Z] 8603b9c90790: Verifying Checksum [2022-02-10T15:43:25.600Z] 8603b9c90790: Download complete [2022-02-10T15:43:25.877Z] 1560dd03e051: Verifying Checksum [2022-02-10T15:43:25.877Z] 1560dd03e051: Download complete [2022-02-10T15:43:25.877Z] 27f5ce0e4adf: Verifying Checksum [2022-02-10T15:43:25.877Z] 27f5ce0e4adf: Download complete [2022-02-10T15:43:25.877Z] 05883995daec: Verifying Checksum [2022-02-10T15:43:25.877Z] 05883995daec: Download complete [2022-02-10T15:43:26.151Z] 448f6bf000e3: Verifying Checksum [2022-02-10T15:43:26.151Z] 448f6bf000e3: Download complete [2022-02-10T15:43:28.783Z] c2d8d7efcc4b: Verifying Checksum [2022-02-10T15:43:28.783Z] c2d8d7efcc4b: Download complete [2022-02-10T15:43:30.223Z] 448f6bf000e3: Pull complete [2022-02-10T15:43:30.824Z] f757da607395: Pull complete [2022-02-10T15:43:32.261Z] 05883995daec: Pull complete [2022-02-10T15:43:32.538Z] 8603b9c90790: Pull complete [2022-02-10T15:43:33.519Z] 1560dd03e051: Pull complete [2022-02-10T15:43:33.795Z] 27f5ce0e4adf: Pull complete [2022-02-10T15:43:52.104Z] c2d8d7efcc4b: Pull complete [2022-02-10T15:43:52.104Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2022-02-10T15:43:52.104Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-02-10T15:43:52.104Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-02-10T15:43:52.382Z] prd-ubuntu18.04-docker-arm64-4c-16g-4992 does not seem to be running inside a container [2022-02-10T15:43:52.462Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-02-10T15:43:55.463Z] $ docker top e3e87aaed13775766ffc23f3ad4c18e3c1d873739a3589ddadbf3123903b46f8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-02-10T15:43:56.488Z] ---> job-cost.sh [2022-02-10T15:43:56.488Z] lf-activate-venv: SKIPPING [2022-02-10T15:43:56.488Z] INFO: No Stack... [2022-02-10T15:43:56.760Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-02-10T15:43:57.355Z] INFO: Archiving Costs [Pipeline] sh [2022-02-10T15:43:58.041Z] + cut -d, -f6 [2022-02-10T15:43:58.041Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [Pipeline] lock [2022-02-10T15:43:58.130Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1097-1-stack-cost] [2022-02-10T15:43:58.136Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1097-1-stack-cost] did not exist. Created. [2022-02-10T15:43:58.136Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1097-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-02-10T15:43:58.894Z] /w/workspace/device-sdk-go/1@tmp/durable-e4fb4daa/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-e4fb4daa/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2022-02-10T15:43:59.597Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-02-10T15:43:59.639Z] Warning: overwriting stash ‘stack-cost’ [2022-02-10T15:43:59.709Z] Stashed 1 file(s) [Pipeline] } [2022-02-10T15:43:59.727Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1097-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-02-10T15:43:59.804Z] $ docker stop --time=1 e3e87aaed13775766ffc23f3ad4c18e3c1d873739a3589ddadbf3123903b46f8 [2022-02-10T15:44:01.320Z] $ docker rm -f e3e87aaed13775766ffc23f3ad4c18e3c1d873739a3589ddadbf3123903b46f8 [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 [2022-02-10T15:44:02.437Z] provisioning config files... [2022-02-10T15:44:02.451Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1097@tmp/config2976667464603660678tmp [Pipeline] { [Pipeline] sh [2022-02-10T15:44:02.783Z] + set +x [2022-02-10T15:44:02.783Z] + bash -s -- [2022-02-10T15:44:02.783Z] + curl -s https://codecov.io/bash [2022-02-10T15:44:02.783Z] [2022-02-10T15:44:02.783Z] _____ _ [2022-02-10T15:44:02.783Z] / ____| | | [2022-02-10T15:44:02.783Z] | | ___ __| | ___ ___ _____ __ [2022-02-10T15:44:02.783Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-02-10T15:44:02.783Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-02-10T15:44:02.783Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-02-10T15:44:02.783Z] Bash-1.0.6 [2022-02-10T15:44:02.783Z] [2022-02-10T15:44:02.783Z] [2022-02-10T15:44:02.783Z] ==> git version 2.24.4 found [2022-02-10T15:44:02.783Z] ==> 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 [2022-02-10T15:44:02.783Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2022-02-10T15:44:02.783Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2022-02-10T15:44:02.783Z] ==> Jenkins CI detected. [2022-02-10T15:44:02.783Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1097 [2022-02-10T15:44:02.783Z] project root: . [2022-02-10T15:44:02.783Z] --> token set from env [2022-02-10T15:44:02.783Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-02-10T15:44:03.043Z] ==> Running gcov in . (disable via -X gcov) [2022-02-10T15:44:03.043Z] ==> Python coveragepy not found [2022-02-10T15:44:03.043Z] ==> Searching for coverage reports in: [2022-02-10T15:44:03.043Z] + . [2022-02-10T15:44:03.043Z] -> Found 1 reports [2022-02-10T15:44:03.043Z] ==> Detecting git/mercurial file structure [2022-02-10T15:44:03.043Z] ==> Reading reports [2022-02-10T15:44:03.043Z] + ./coverage.out bytes=129501 [2022-02-10T15:44:03.043Z] ==> Appending adjustments [2022-02-10T15:44:03.043Z] https://docs.codecov.io/docs/fixing-reports [2022-02-10T15:44:03.305Z] + Found adjustments [2022-02-10T15:44:03.306Z] ==> Gzipping contents [2022-02-10T15:44:03.306Z] 16K /tmp/codecov.sRNto1.gz [2022-02-10T15:44:03.306Z] ==> Uploading reports [2022-02-10T15:44:03.306Z] url: https://codecov.io [2022-02-10T15:44:03.306Z] query: branch=PR-1097&commit=a0d49c3cef7ce169715d8911a88214c17b238dd1&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1097%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1097&job=&cmd_args= [2022-02-10T15:44:03.306Z] -> Pinging Codecov [2022-02-10T15:44:03.306Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1097&commit=a0d49c3cef7ce169715d8911a88214c17b238dd1&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1097%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1097&job=&cmd_args= [2022-02-10T15:44:03.569Z] -> Uploading to [2022-02-10T15:44:03.569Z] https://storage.googleapis.com/codecov/v4/raw/2022-02-10/7E55EF52A471D76F132DFD9A03CDDE97/a0d49c3cef7ce169715d8911a88214c17b238dd1/8911aec5-4e47-4dbd-bede-8bfb9c0c43c9.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220210%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220210T154403Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ce27e5a07f18c043868e11c845da16037a0da9ed744432012de496f2cd95c866 [2022-02-10T15:44:03.569Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-02-10T15:44:03.569Z] Dload Upload Total Spent Left Speed [2022-02-10T15:44:03.831Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16281 0 0 100 16281 0 53283 --:--:-- --:--:-- --:--:-- 53380 [2022-02-10T15:44:03.831Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/a0d49c3cef7ce169715d8911a88214c17b238dd1 [Pipeline] } [2022-02-10T15:44:03.859Z] 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 [2022-02-10T15:44:05.737Z] + '[' -d /w/workspace/gexfoundry_device-sdk-go_PR-1097/archives ']' [2022-02-10T15:44:05.737Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1097/archives [2022-02-10T15:44:05.737Z] total 8 [2022-02-10T15:44:05.737Z] drwxr-xr-x. 3 root root 34 Feb 10 15:37 . [2022-02-10T15:44:05.737Z] drwxrwxr-x. 12 jenkins jenkins 4096 Feb 10 15:37 .. [2022-02-10T15:44:05.737Z] drwxr-xr-x. 2 root root 6 Feb 10 15:37 cost [2022-02-10T15:44:05.737Z] -rw-r--r--. 1 root root 85 Feb 10 15:37 cost.csv [2022-02-10T15:44:05.737Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1097/archives [2022-02-10T15:44:05.737Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1097/archives [2022-02-10T15:44:05.737Z] total 8 [2022-02-10T15:44:05.737Z] drwxr-xr-x. 3 jenkins jenkins 34 Feb 10 15:37 . [2022-02-10T15:44:05.737Z] drwxrwxr-x. 12 jenkins jenkins 4096 Feb 10 15:37 .. [2022-02-10T15:44:05.737Z] drwxr-xr-x. 2 jenkins jenkins 6 Feb 10 15:37 cost [2022-02-10T15:44:05.737Z] -rw-r--r--. 1 jenkins jenkins 85 Feb 10 15:37 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-02-10T15:44:06.080Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-10T15:44:06.671Z] ---> package-listing.sh [2022-02-10T15:44:06.672Z] ++ facter osfamily [2022-02-10T15:44:06.672Z] ++ tr '[:upper:]' '[:lower:]' [2022-02-10T15:44:06.936Z] + OS_FAMILY=redhat [2022-02-10T15:44:06.936Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1097 [2022-02-10T15:44:06.936Z] + START_PACKAGES=/tmp/packages_start.txt [2022-02-10T15:44:06.936Z] + END_PACKAGES=/tmp/packages_end.txt [2022-02-10T15:44:06.936Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-02-10T15:44:06.936Z] + PACKAGES=/tmp/packages_start.txt [2022-02-10T15:44:06.936Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1097 ']' [2022-02-10T15:44:06.936Z] + PACKAGES=/tmp/packages_end.txt [2022-02-10T15:44:06.936Z] + case "${OS_FAMILY}" in [2022-02-10T15:44:06.936Z] + sort [2022-02-10T15:44:06.936Z] + rpm -qa [2022-02-10T15:44:07.506Z] + '[' -f /tmp/packages_start.txt ']' [2022-02-10T15:44:07.506Z] + '[' -f /tmp/packages_end.txt ']' [2022-02-10T15:44:07.506Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-02-10T15:44:07.506Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1097 ']' [2022-02-10T15:44:07.506Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1097/archives/ [2022-02-10T15:44:07.506Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1097/archives/ [Pipeline] echo [2022-02-10T15:44:07.538Z] 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-1097/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-02-10T15:44:07.836Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-02-10T15:44:08.427Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-02-10T15:44:08.427Z] . [Pipeline] withDockerContainer [2022-02-10T15:44:08.514Z] prd-centos7-docker-4c-2g-4989 does not seem to be running inside a container [2022-02-10T15:44:08.552Z] $ 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-1097/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-1097 -v /w/workspace/gexfoundry_device-sdk-go_PR-1097:/w/workspace/gexfoundry_device-sdk-go_PR-1097:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1097@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1097@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 [2022-02-10T15:44:08.750Z] $ docker top 0129fe7016fc9327eb3dc73442d4dbacc60dc003b9939942bd2ba9d7381e77d7 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-02-10T15:44:09.146Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-02-10T15:44:09.465Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-02-10T15:44:09.777Z] + ls /var/log/sa-host [2022-02-10T15:44:09.777Z] + sadf -c /var/log/sa-host/sa10 [2022-02-10T15:44:09.777Z] file_magic: OK [2022-02-10T15:44:09.777Z] HZ: Using current value: 100 [2022-02-10T15:44:09.777Z] file_header: OK [2022-02-10T15:44:09.777Z] 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 [2022-02-10T15:44:09.777Z] Statistics: [2022-02-10T15:44:09.777Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-02-10T15:44:09.777Z] File successfully converted to sysstat format version 12.0.3 [2022-02-10T15:44:09.777Z] + sadf -c /var/log/sa-host/sa17 [2022-02-10T15:44:09.777Z] file_magic: OK [2022-02-10T15:44:09.777Z] HZ: Using current value: 100 [2022-02-10T15:44:09.777Z] file_header: OK [2022-02-10T15:44:09.777Z] 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 [2022-02-10T15:44:09.777Z] Statistics: [2022-02-10T15:44:09.777Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-02-10T15:44:09.777Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-02-10T15:44:10.065Z] provisioning config files... [2022-02-10T15:44:10.074Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1097@tmp/config162715939449793360tmp [Pipeline] { [Pipeline] echo [2022-02-10T15:44:10.130Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-10T15:44:10.443Z] ---> create-netrc.sh [Pipeline] } [2022-02-10T15:44:10.471Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-02-10T15:44:10.893Z] ---> python-tools-install.sh [Pipeline] echo [2022-02-10T15:44:10.930Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-10T15:44:11.272Z] ---> sudo-logs.sh [2022-02-10T15:44:11.272Z] Archiving 'sudo' log.. [2022-02-10T15:44:11.272Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-4989.novalocal: Name or service not known [2022-02-10T15:44:11.272Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-4989.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2022-02-10T15:44:11.358Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-10T15:44:11.677Z] ---> job-cost.sh [2022-02-10T15:44:11.677Z] lf-activate-venv: SKIPPING [2022-02-10T15:44:11.677Z] DEBUG: total: 0.05999999865889549 [2022-02-10T15:44:11.677Z] INFO: Retrieving Stack Cost... [2022-02-10T15:44:11.936Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-02-10T15:44:12.195Z] INFO: Archiving Costs [Pipeline] echo [2022-02-10T15:44:12.231Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-02-10T15:44:12.550Z] ---> logs-deploy.sh [2022-02-10T15:44:12.550Z] lf-activate-venv: SKIPPING [2022-02-10T15:44:12.550Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1097/1 [2022-02-10T15:44:12.550Z] INFO: archiving workspace using pattern(s): [2022-02-10T15:44:13.121Z] Archives upload complete. [2022-02-10T15:44:13.383Z] INFO: archiving logs to Nexus