Pull request #1089 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 AlexCuse for edgexfoundry/device-sdk-go Loading trusted files from base branch main at 07413fc94cc2b45047bcdb5c40d5c5d8e8da58c2 rather than d10d30cc8d97eeaf505c2ecad143e9858b00d714 Obtained Jenkinsfile from 07413fc94cc2b45047bcdb5c40d5c5d8e8da58c2 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-ssh8092129387171231524.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision dae07dc806156effb2cae02074e2f5f64a063e83 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-ssh4138620861778325341.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 dae07dc806156effb2cae02074e2f5f64a063e83 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-1089/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-1089/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh11362181836576082251.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-1089/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh250145205421792077.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision dae07dc806156effb2cae02074e2f5f64a063e83 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f dae07dc806156effb2cae02074e2f5f64a063e83 # timeout=10 Commit message: "Merge pull request #375 from ernestojeda/golang-1-17-updates" > 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-ssh14321201952497102876.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-1089/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-1089/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh10969913673329036438.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 dae07dc806156effb2cae02074e2f5f64a063e83 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 ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-3915 in /w/workspace/gexfoundry_device-sdk-go_PR-1089 [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-1089 # 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-1089@tmp/jenkins-gitclient-ssh4130600271816807661.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 07413fc94cc2b45047bcdb5c40d5c5d8e8da58c2 into PR head commit d10d30cc8d97eeaf505c2ecad143e9858b00d714 Merge succeeded, producing d10d30cc8d97eeaf505c2ecad143e9858b00d714 Checking out Revision d10d30cc8d97eeaf505c2ecad143e9858b00d714 (PR-1089) > 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-1089@tmp/jenkins-gitclient-ssh3682013443367165699.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1089/head:refs/remotes/origin/PR-1089 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d10d30cc8d97eeaf505c2ecad143e9858b00d714 # 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-1089@tmp/jenkins-gitclient-ssh3256957378488660682.key > git merge 07413fc94cc2b45047bcdb5c40d5c5d8e8da58c2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d10d30cc8d97eeaf505c2ecad143e9858b00d714 # timeout=10 Commit message: "feat(webserver): Include ServiceName on Common Responses" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object dae07dc806156effb2cae02074e2f5f64a063e83 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-01-26T04:03:32.144Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-01-26T04:03:32.306Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-01-26T04:03:32.412Z] ========================================================= [2022-01-26T04:03:32.412Z] EdgeX Global Pipelines Version Info [2022-01-26T04:03:32.412Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-01-26T04:03:33.554Z] ------------------- [2022-01-26T04:03:33.554Z] stable info: [2022-01-26T04:03:33.554Z] ------------------- [2022-01-26T04:03:33.554Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-01-26T04:03:33.554Z] Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 [2022-01-26T04:03:33.554Z] Message: update stable to v1.0.219 [2022-01-26T04:03:34.128Z] ------------------- [2022-01-26T04:03:34.128Z] experimental info: [2022-01-26T04:03:34.128Z] ------------------- [2022-01-26T04:03:34.128Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-01-26T04:03:34.128Z] Commit SHA: dae07dc806156effb2cae02074e2f5f64a063e83 [2022-01-26T04:03:34.128Z] Message: update experimental to v1.0.219 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-01-26T04:03:34.384Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2022-01-26T04:03:34.430Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2022-01-26T04:03:34.471Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-01-26T04:03:34.514Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-01-26T04:03:34.547Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-01-26T04:03:34.582Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-01-26T04:03:34.611Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-01-26T04:03:34.642Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2022-01-26T04:03:34.676Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-01-26T04:03:34.760Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-01-26T04:03:34.795Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-01-26T04:03:34.833Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2022-01-26T04:03:34.870Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-01-26T04:03:34.911Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-01-26T04:03:34.949Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-01-26T04:03:34.988Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2022-01-26T04:03:35.024Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-01-26T04:03:35.063Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-01-26T04:03:35.106Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-01-26T04:03:35.146Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-01-26T04:03:35.187Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-01-26T04:03:35.227Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2022-01-26T04:03:35.269Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-01-26T04:03:35.315Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-01-26T04:03:35.353Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-01-26T04:03:35.389Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-01-26T04:03:35.428Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1089 [Pipeline] echo [2022-01-26T04:03:35.469Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1089 [Pipeline] echo [2022-01-26T04:03:35.510Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1089 [Pipeline] echo [2022-01-26T04:03:35.550Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d10d30cc8d97eeaf505c2ecad143e9858b00d714 [Pipeline] echo [2022-01-26T04:03:35.594Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d10d30c [Pipeline] echo [2022-01-26T04:03:35.630Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-26T04:03:35.744Z] provisioning config files... [2022-01-26T04:03:35.767Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1089@tmp/config1582743413244284736tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-26T04:03:36.127Z] ---> docker-login.sh [2022-01-26T04:03:36.127Z] nexus3.edgexfoundry.org:10001 [2022-01-26T04:03:36.127Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-26T04:03:36.127Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-26T04:03:36.127Z] Configure a credential helper to remove this warning. See [2022-01-26T04:03:36.127Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-26T04:03:36.127Z] [2022-01-26T04:03:36.127Z] Login Succeeded [2022-01-26T04:03:36.127Z] nexus3.edgexfoundry.org:10002 [2022-01-26T04:03:36.387Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-26T04:03:36.387Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-26T04:03:36.387Z] Configure a credential helper to remove this warning. See [2022-01-26T04:03:36.387Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-26T04:03:36.387Z] [2022-01-26T04:03:36.387Z] Login Succeeded [2022-01-26T04:03:36.387Z] nexus3.edgexfoundry.org:10003 [2022-01-26T04:03:36.387Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-26T04:03:36.387Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-26T04:03:36.387Z] Configure a credential helper to remove this warning. See [2022-01-26T04:03:36.387Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-26T04:03:36.387Z] [2022-01-26T04:03:36.387Z] Login Succeeded [2022-01-26T04:03:36.387Z] nexus3.edgexfoundry.org:10004 [2022-01-26T04:03:36.650Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-26T04:03:36.650Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-26T04:03:36.650Z] Configure a credential helper to remove this warning. See [2022-01-26T04:03:36.650Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-26T04:03:36.650Z] [2022-01-26T04:03:36.650Z] Login Succeeded [2022-01-26T04:03:36.650Z] docker.io [2022-01-26T04:03:36.650Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-26T04:03:36.912Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-26T04:03:36.912Z] Configure a credential helper to remove this warning. See [2022-01-26T04:03:36.912Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-26T04:03:36.912Z] [2022-01-26T04:03:36.912Z] Login Succeeded [2022-01-26T04:03:36.912Z] ---> docker-login.sh ends [Pipeline] } [2022-01-26T04:03:36.938Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-01-26T04:03:37.570Z] + git rev-list -1 --merges d10d30cc8d97eeaf505c2ecad143e9858b00d714~1..d10d30cc8d97eeaf505c2ecad143e9858b00d714 [Pipeline] echo [2022-01-26T04:03:37.626Z] -----------> git rev-list -1 --merges d10d30cc8d97eeaf505c2ecad143e9858b00d714~1..d10d30cc8d97eeaf505c2ecad143e9858b00d714 d10d30cc8d97eeaf505c2ecad143e9858b00d714 [false] [Pipeline] sh [2022-01-26T04:03:37.939Z] + git log --format=format:%s -1 d10d30cc8d97eeaf505c2ecad143e9858b00d714 [Pipeline] echo [2022-01-26T04:03:37.978Z] ========================================================= [2022-01-26T04:03:37.978Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-01-26T04:03:37.978Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-26T04:03:38.431Z] + git log --format=format:%s -1 d10d30cc8d97eeaf505c2ecad143e9858b00d714 [Pipeline] echo [2022-01-26T04:03:38.463Z] [semverPrep] GIT_COMMIT: d10d30cc8d97eeaf505c2ecad143e9858b00d714, Commit Message: feat(webserver): Include ServiceName on Common Responses [Pipeline] echo [2022-01-26T04:03:38.493Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-01-26T04:03:38.944Z] + grep 'github.com ecdsa' /etc/ssh/ssh_known_hosts [2022-01-26T04:03:38.944Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-01-26T04:03:38.944Z] + '[' -e /tmp/ssh_known_hosts ']' [2022-01-26T04:03:38.944Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-01-26T04:03:38.944Z] + echo 'github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=' [2022-01-26T04:03:38.944Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-01-26T04:03:38.944Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-01-26T04:03:39.399Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-26T04:03:39.399Z] [2022-01-26T04:03:39.399Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-01-26T04:03:39.753Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-26T04:03:39.753Z] latest: Pulling from edgex-devops/git-semver [2022-01-26T04:03:39.753Z] a0d0a0d46f8b: Pulling fs layer [2022-01-26T04:03:39.753Z] 3e5f54012d9b: Pulling fs layer [2022-01-26T04:03:39.753Z] 4c7163046ea9: Pulling fs layer [2022-01-26T04:03:39.753Z] 0c2d73faf560: Pulling fs layer [2022-01-26T04:03:39.753Z] 0c2d73faf560: Waiting [2022-01-26T04:03:39.753Z] 3e5f54012d9b: Verifying Checksum [2022-01-26T04:03:39.753Z] 3e5f54012d9b: Download complete [2022-01-26T04:03:39.753Z] a0d0a0d46f8b: Verifying Checksum [2022-01-26T04:03:39.753Z] a0d0a0d46f8b: Download complete [2022-01-26T04:03:39.753Z] 4c7163046ea9: Verifying Checksum [2022-01-26T04:03:39.753Z] 4c7163046ea9: Download complete [2022-01-26T04:03:39.753Z] 0c2d73faf560: Verifying Checksum [2022-01-26T04:03:39.753Z] 0c2d73faf560: Download complete [2022-01-26T04:03:40.024Z] a0d0a0d46f8b: Pull complete [2022-01-26T04:03:40.024Z] 3e5f54012d9b: Pull complete [2022-01-26T04:03:40.285Z] 4c7163046ea9: Pull complete [2022-01-26T04:03:40.545Z] 0c2d73faf560: Pull complete [2022-01-26T04:03:40.545Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2022-01-26T04:03:40.545Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2022-01-26T04:03:40.545Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2022-01-26T04:03:40.644Z] prd-centos7-docker-4c-2g-3915 does not seem to be running inside a container [2022-01-26T04:03:40.687Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1089 -v /w/workspace/gexfoundry_device-sdk-go_PR-1089:/w/workspace/gexfoundry_device-sdk-go_PR-1089:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1089@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1089@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-01-26T04:03:41.322Z] $ docker top 5162f3254b44513b4d2e8c9984c289f624841eef8bc3b0cbb975a0be4a6e7468 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-01-26T04:03:41.506Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-26T04:03:41.506Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-26T04:03:41.601Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-26T04:03:41.604Z] $ docker exec 5162f3254b44513b4d2e8c9984c289f624841eef8bc3b0cbb975a0be4a6e7468 ssh-agent [2022-01-26T04:03:41.700Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXFeeePP/agent.14 [2022-01-26T04:03:41.700Z] SSH_AGENT_PID=20 [2022-01-26T04:03:41.708Z] Running ssh-add (command line suppressed) [2022-01-26T04:03:41.790Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1089@tmp/private_key_8690201319799104309.key (/w/workspace/gexfoundry_device-sdk-go_PR-1089@tmp/private_key_8690201319799104309.key) [2022-01-26T04:03:41.803Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-26T04:03:42.230Z] + git tag --points-at HEAD [Pipeline] } [2022-01-26T04:03:42.258Z] $ docker exec --env ******** --env ******** 5162f3254b44513b4d2e8c9984c289f624841eef8bc3b0cbb975a0be4a6e7468 ssh-agent -k [2022-01-26T04:03:42.338Z] unset SSH_AUTH_SOCK; [2022-01-26T04:03:42.339Z] unset SSH_AGENT_PID; [2022-01-26T04:03:42.339Z] echo Agent pid 20 killed; [2022-01-26T04:03:42.346Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-01-26T04:03:42.436Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-01-26T04:03:42.436Z] [ssh-agent] Looking for ssh-agent implementation... [2022-01-26T04:03:42.531Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-01-26T04:03:42.534Z] $ docker exec 5162f3254b44513b4d2e8c9984c289f624841eef8bc3b0cbb975a0be4a6e7468 ssh-agent [2022-01-26T04:03:42.623Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXIMhHjc/agent.54 [2022-01-26T04:03:42.623Z] SSH_AGENT_PID=60 [2022-01-26T04:03:42.628Z] Running ssh-add (command line suppressed) [2022-01-26T04:03:42.710Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1089@tmp/private_key_2213410522605994491.key (/w/workspace/gexfoundry_device-sdk-go_PR-1089@tmp/private_key_2213410522605994491.key) [2022-01-26T04:03:42.721Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-01-26T04:03:43.053Z] + git semver init [2022-01-26T04:03:43.053Z] # -> Open(): unable to determine branch for HEAD [2022-01-26T04:03:43.053Z] # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1089/.git [2022-01-26T04:03:43.053Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1089 [2022-01-26T04:03:43.053Z] # $SEMVER_REMOTE_NAME = origin [2022-01-26T04:03:43.053Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2022-01-26T04:03:43.053Z] # $SEMVER_USER_NAME = edgex-jenkins [2022-01-26T04:03:43.053Z] # $SEMVER_BRANCH = PR-1089 [2022-01-26T04:03:43.053Z] # $SEMVER_TEMP = /tmp/semver-402490730 [2022-01-26T04:03:43.053Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2022-01-26T04:03:44.002Z] # '/tmp/semver-402490730' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1089/.semver' [2022-01-26T04:03:44.002Z] # -> Force: false [2022-01-26T04:03:44.002Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1089/.semver [Pipeline] } [2022-01-26T04:03:44.025Z] $ docker exec --env ******** --env ******** 5162f3254b44513b4d2e8c9984c289f624841eef8bc3b0cbb975a0be4a6e7468 ssh-agent -k [2022-01-26T04:03:44.133Z] unset SSH_AUTH_SOCK; [2022-01-26T04:03:44.133Z] unset SSH_AGENT_PID; [2022-01-26T04:03:44.133Z] echo Agent pid 60 killed; [2022-01-26T04:03:44.144Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-01-26T04:03:44.549Z] + git semver [Pipeline] } [2022-01-26T04:03:44.576Z] $ docker stop --time=1 5162f3254b44513b4d2e8c9984c289f624841eef8bc3b0cbb975a0be4a6e7468 [2022-01-26T04:03:45.798Z] $ docker rm -f 5162f3254b44513b4d2e8c9984c289f624841eef8bc3b0cbb975a0be4a6e7468 [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-26T04:03:46.212Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-01-26T04:03:46.489Z] Stashed 1 file(s) [Pipeline] echo [2022-01-26T04:03:46.508Z] [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-01-26T04:03:47.078Z] provisioning config files... [2022-01-26T04:03:47.088Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1089@tmp/config4406865181716219982tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-26T04:03:47.438Z] ---> docker-login.sh [2022-01-26T04:03:47.438Z] nexus3.edgexfoundry.org:10001 [2022-01-26T04:03:47.438Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-26T04:03:47.438Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-26T04:03:47.438Z] Configure a credential helper to remove this warning. See [2022-01-26T04:03:47.438Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-26T04:03:47.438Z] [2022-01-26T04:03:47.438Z] Login Succeeded [2022-01-26T04:03:47.438Z] nexus3.edgexfoundry.org:10002 [2022-01-26T04:03:47.438Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-26T04:03:47.438Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-26T04:03:47.438Z] Configure a credential helper to remove this warning. See [2022-01-26T04:03:47.438Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-26T04:03:47.438Z] [2022-01-26T04:03:47.438Z] Login Succeeded [2022-01-26T04:03:47.438Z] nexus3.edgexfoundry.org:10003 [2022-01-26T04:03:47.701Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-26T04:03:47.701Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-26T04:03:47.701Z] Configure a credential helper to remove this warning. See [2022-01-26T04:03:47.701Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-26T04:03:47.701Z] [2022-01-26T04:03:47.701Z] Login Succeeded [2022-01-26T04:03:47.701Z] nexus3.edgexfoundry.org:10004 [2022-01-26T04:03:47.701Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-26T04:03:47.701Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-26T04:03:47.701Z] Configure a credential helper to remove this warning. See [2022-01-26T04:03:47.701Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-26T04:03:47.701Z] [2022-01-26T04:03:47.701Z] Login Succeeded [2022-01-26T04:03:47.701Z] docker.io [2022-01-26T04:03:47.961Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-26T04:03:48.223Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-26T04:03:48.223Z] Configure a credential helper to remove this warning. See [2022-01-26T04:03:48.223Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-26T04:03:48.223Z] [2022-01-26T04:03:48.223Z] Login Succeeded [2022-01-26T04:03:48.223Z] ---> docker-login.sh ends [Pipeline] } [2022-01-26T04:03:48.251Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-01-26T04:03:48.458Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-26T04:03:48.492Z] ========================================================= [2022-01-26T04:03:48.492Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-01-26T04:03:48.492Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-01-26T04:03:48.910Z] + 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-01-26T04:03:48.911Z] Sending build context to Docker daemon 9.456MB [2022-01-26T04:03:48.911Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-01-26T04:03:48.911Z] Step 2/11 : FROM ${BASE} AS builder [2022-01-26T04:03:48.911Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-01-26T04:03:48.911Z] 59bf1c3509f3: Pulling fs layer [2022-01-26T04:03:48.911Z] 666ba61612fd: Pulling fs layer [2022-01-26T04:03:48.911Z] 8ed8ca486205: Pulling fs layer [2022-01-26T04:03:48.911Z] 4fe6c5a15a65: Pulling fs layer [2022-01-26T04:03:48.911Z] 22a0e8bec74d: Pulling fs layer [2022-01-26T04:03:48.911Z] f965cba54748: Pulling fs layer [2022-01-26T04:03:48.911Z] 861ffc35075e: Pulling fs layer [2022-01-26T04:03:48.911Z] 4b385c91608e: Pulling fs layer [2022-01-26T04:03:48.911Z] 560528eb2ebb: Pulling fs layer [2022-01-26T04:03:48.911Z] 4fe6c5a15a65: Waiting [2022-01-26T04:03:48.911Z] 22a0e8bec74d: Waiting [2022-01-26T04:03:48.911Z] f965cba54748: Waiting [2022-01-26T04:03:48.911Z] 861ffc35075e: Waiting [2022-01-26T04:03:48.911Z] 4b385c91608e: Waiting [2022-01-26T04:03:48.911Z] 560528eb2ebb: Waiting [2022-01-26T04:03:49.180Z] 8ed8ca486205: Verifying Checksum [2022-01-26T04:03:49.180Z] 8ed8ca486205: Download complete [2022-01-26T04:03:49.180Z] 666ba61612fd: Verifying Checksum [2022-01-26T04:03:49.180Z] 666ba61612fd: Download complete [2022-01-26T04:03:49.180Z] 22a0e8bec74d: Verifying Checksum [2022-01-26T04:03:49.180Z] 22a0e8bec74d: Download complete [2022-01-26T04:03:49.180Z] f965cba54748: Verifying Checksum [2022-01-26T04:03:49.180Z] f965cba54748: Download complete [2022-01-26T04:03:49.180Z] 861ffc35075e: Verifying Checksum [2022-01-26T04:03:49.180Z] 861ffc35075e: Download complete [2022-01-26T04:03:49.180Z] 59bf1c3509f3: Verifying Checksum [2022-01-26T04:03:49.180Z] 59bf1c3509f3: Download complete [2022-01-26T04:03:49.180Z] 4b385c91608e: Verifying Checksum [2022-01-26T04:03:49.180Z] 4b385c91608e: Download complete [2022-01-26T04:03:49.440Z] 59bf1c3509f3: Pull complete [2022-01-26T04:03:49.701Z] 4fe6c5a15a65: Verifying Checksum [2022-01-26T04:03:49.701Z] 4fe6c5a15a65: Download complete [2022-01-26T04:03:49.701Z] 666ba61612fd: Pull complete [2022-01-26T04:03:49.701Z] 560528eb2ebb: Verifying Checksum [2022-01-26T04:03:49.701Z] 560528eb2ebb: Download complete [2022-01-26T04:03:49.972Z] 8ed8ca486205: Pull complete [2022-01-26T04:03:54.213Z] 4fe6c5a15a65: Pull complete [2022-01-26T04:03:54.213Z] 22a0e8bec74d: Pull complete [2022-01-26T04:03:54.213Z] f965cba54748: Pull complete [2022-01-26T04:03:54.213Z] 861ffc35075e: Pull complete [2022-01-26T04:03:54.213Z] 4b385c91608e: Pull complete [2022-01-26T04:03:56.779Z] 560528eb2ebb: Pull complete [2022-01-26T04:03:56.779Z] Digest: sha256:95a4686c8495b6f6bb7c4a5166a7528182518169a5847072e9a4515f5458b02f [2022-01-26T04:03:56.779Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-01-26T04:03:56.779Z] ---> dd4a08f94e63 [2022-01-26T04:03:56.779Z] Step 3/11 : ARG MAKE=make build [2022-01-26T04:03:58.164Z] ---> Running in cbd7a3715bc7 [2022-01-26T04:03:58.164Z] Removing intermediate container cbd7a3715bc7 [2022-01-26T04:03:58.164Z] ---> a0875dab4dea [2022-01-26T04:03:58.164Z] Step 4/11 : WORKDIR /device-sdk-go [2022-01-26T04:03:58.164Z] ---> Running in 31f365adae4e [2022-01-26T04:03:58.164Z] Removing intermediate container 31f365adae4e [2022-01-26T04:03:58.164Z] ---> 04943e3e39ff [2022-01-26T04:03:58.164Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-26T04:03:58.164Z] ---> Running in 1a6adb668dfd [2022-01-26T04:03:58.433Z] Removing intermediate container 1a6adb668dfd [2022-01-26T04:03:58.433Z] ---> 835c04bd5e23 [2022-01-26T04:03:58.433Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-26T04:03:58.433Z] ---> Running in 536e8ec9880b [2022-01-26T04:03:58.692Z] Removing intermediate container 536e8ec9880b [2022-01-26T04:03:58.692Z] ---> 62d84534e68f [2022-01-26T04:03:58.692Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-01-26T04:03:58.692Z] ---> Running in 846af4c72077 [2022-01-26T04:03:58.951Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-01-26T04:03:59.889Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-01-26T04:04:00.152Z] OK: 221 MiB in 52 packages [2022-01-26T04:04:00.413Z] Removing intermediate container 846af4c72077 [2022-01-26T04:04:00.413Z] ---> 33c041a3933b [2022-01-26T04:04:00.413Z] Step 8/11 : COPY go.mod vendor* ./ [2022-01-26T04:04:00.673Z] ---> 030187eb60c7 [2022-01-26T04:04:00.673Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-26T04:04:00.673Z] ---> Running in adf61cdc3179 [2022-01-26T04:04:01.911Z] Still waiting to schedule task [2022-01-26T04:04:01.911Z] Waiting for next available executor on ‘prd-ubuntu18.04-docker-arm64-4c-16g-3913’ [2022-01-26T04:04:39.430Z] Removing intermediate container adf61cdc3179 [2022-01-26T04:04:39.430Z] ---> 627f08c5dd47 [2022-01-26T04:04:39.430Z] Step 10/11 : COPY . . [2022-01-26T04:04:39.430Z] ---> b93a2e5f0ae5 [2022-01-26T04:04:39.430Z] Step 11/11 : RUN ${MAKE} [2022-01-26T04:04:39.430Z] ---> Running in b67b77cb4454 [2022-01-26T04:04:39.430Z] noop [2022-01-26T04:04:39.430Z] Removing intermediate container b67b77cb4454 [2022-01-26T04:04:39.430Z] ---> ca1723e192b9 [2022-01-26T04:04:39.430Z] Successfully built ca1723e192b9 [2022-01-26T04:04:39.430Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-01-26T04:04:39.767Z] + docker inspect -f . ci-base-image-x86_64 [2022-01-26T04:04:39.767Z] . [Pipeline] withDockerContainer [2022-01-26T04:04:39.860Z] prd-centos7-docker-4c-2g-3915 does not seem to be running inside a container [2022-01-26T04:04:39.896Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1089 -v /w/workspace/gexfoundry_device-sdk-go_PR-1089:/w/workspace/gexfoundry_device-sdk-go_PR-1089:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1089@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1089@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-01-26T04:04:40.238Z] $ docker top 1b6ca4a590ec443c11f1d68766ac4a6870db49afa802ef1b866a8cec83477389 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-26T04:04:40.640Z] + go version [2022-01-26T04:04:40.640Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-01-26T04:04:40.670Z] $ docker stop --time=1 1b6ca4a590ec443c11f1d68766ac4a6870db49afa802ef1b866a8cec83477389 [2022-01-26T04:04:41.850Z] $ docker rm -f 1b6ca4a590ec443c11f1d68766ac4a6870db49afa802ef1b866a8cec83477389 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-26T04:04:42.527Z] + docker inspect -f . ci-base-image-x86_64 [2022-01-26T04:04:42.527Z] . [Pipeline] withDockerContainer [2022-01-26T04:04:42.616Z] prd-centos7-docker-4c-2g-3915 does not seem to be running inside a container [2022-01-26T04:04:42.646Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1089 -v /w/workspace/gexfoundry_device-sdk-go_PR-1089:/w/workspace/gexfoundry_device-sdk-go_PR-1089:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1089@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1089@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-01-26T04:04:42.982Z] $ docker top a6af6312cc763175d1bf6115c8cc16ffb02c0b6d5a8623aa4512a561a3c7c005 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-01-26T04:04:43.439Z] + make test [2022-01-26T04:04:43.439Z] GO111MODULE=on go test -coverprofile=coverage.out ./... [2022-01-26T04:04:43.698Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-01-26T04:04:58.688Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-01-26T04:04:58.688Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-01-26T04:04:58.688Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-01-26T04:04:58.688Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.010s coverage: 23.3% of statements [2022-01-26T04:04:58.688Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-01-26T04:04:58.688Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.008s coverage: 27.6% of statements [2022-01-26T04:04:59.291Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.013s coverage: 78.9% of statements [2022-01-26T04:04:59.291Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.007s coverage: 9.0% of statements [2022-01-26T04:04:59.291Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2022-01-26T04:04:59.291Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-01-26T04:04:59.291Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-01-26T04:04:59.876Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.012s coverage: 28.7% of statements [2022-01-26T04:04:59.877Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-01-26T04:05:00.830Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.013s coverage: 86.1% of statements [2022-01-26T04:05:00.830Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-01-26T04:05:00.830Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-01-26T04:05:00.831Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.012s coverage: 57.4% of statements [2022-01-26T04:05:01.093Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.034s coverage: 89.2% of statements [2022-01-26T04:05:01.093Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-01-26T04:05:01.670Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.008s coverage: 4.8% of statements [2022-01-26T04:05:01.670Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-01-26T04:05:14.012Z] GO111MODULE=on go vet ./... [2022-01-26T04:05:17.341Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-01-26T04:05:17.341Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-01-26T04:05:17.341Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-01-26T04:05:17.941Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-01-26T04:05:17.969Z] $ docker stop --time=1 a6af6312cc763175d1bf6115c8cc16ffb02c0b6d5a8623aa4512a561a3c7c005 [2022-01-26T04:05:19.382Z] $ docker rm -f a6af6312cc763175d1bf6115c8cc16ffb02c0b6d5a8623aa4512a561a3c7c005 [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-26T04:05:19.897Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-01-26T04:05:19.984Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-01-26T04:05:21.139Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-01-26T04:05:21.452Z] + ls -al . [2022-01-26T04:05:21.452Z] total 272 [2022-01-26T04:05:21.452Z] drwxrwxr-x. 11 jenkins jenkins 4096 Jan 26 04:05 . [2022-01-26T04:05:21.452Z] drwxrwxr-x. 4 jenkins jenkins 112 Jan 26 04:03 .. [2022-01-26T04:05:21.452Z] drwxrwxr-x. 2 jenkins jenkins 37 Jan 26 04:03 bin [2022-01-26T04:05:21.452Z] -rw-rw-r--. 1 jenkins jenkins 26321 Jan 26 04:03 CHANGELOG.md [2022-01-26T04:05:21.452Z] -rw-r--r--. 1 jenkins jenkins 128608 Jan 26 04:05 coverage.out [2022-01-26T04:05:21.452Z] -rw-rw-r--. 1 jenkins jenkins 140 Jan 26 04:03 .dockerignore [2022-01-26T04:05:21.452Z] drwxrwxr-x. 5 jenkins jenkins 62 Jan 26 04:03 example [2022-01-26T04:05:21.452Z] drwxrwxr-x. 8 jenkins jenkins 179 Jan 26 04:03 .git [2022-01-26T04:05:21.452Z] drwxrwxr-x. 3 jenkins jenkins 125 Jan 26 04:03 .github [2022-01-26T04:05:21.452Z] -rw-rw-r--. 1 jenkins jenkins 131 Jan 26 04:03 .gitignore [2022-01-26T04:05:21.452Z] -rw-rw-r--. 1 jenkins jenkins 42 Jan 26 04:03 .golangci.yml [2022-01-26T04:05:21.452Z] -rw-rw-r--. 1 jenkins jenkins 2766 Jan 26 04:03 go.mod [2022-01-26T04:05:21.452Z] -rw-rw-r--. 1 jenkins jenkins 49665 Jan 26 04:03 go.sum [2022-01-26T04:05:21.452Z] -rw-rw-r--. 1 jenkins jenkins 677 Jan 26 04:03 GOVERNANCE.md [2022-01-26T04:05:21.452Z] drwxrwxr-x. 15 jenkins jenkins 224 Jan 26 04:03 internal [2022-01-26T04:05:21.452Z] -rw-rw-r--. 1 jenkins jenkins 880 Jan 26 04:03 Jenkinsfile [2022-01-26T04:05:21.452Z] -rw-rw-r--. 1 jenkins jenkins 11341 Jan 26 04:03 LICENSE [2022-01-26T04:05:21.452Z] -rw-rw-r--. 1 jenkins jenkins 1614 Jan 26 04:03 Makefile [2022-01-26T04:05:21.452Z] drwxrwxr-x. 3 jenkins jenkins 16 Jan 26 04:03 openapi [2022-01-26T04:05:21.452Z] -rw-rw-r--. 1 jenkins jenkins 619 Jan 26 04:03 OWNERS.md [2022-01-26T04:05:21.452Z] drwxrwxr-x. 5 jenkins jenkins 50 Jan 26 04:03 pkg [2022-01-26T04:05:21.452Z] -rw-rw-r--. 1 jenkins jenkins 4881 Jan 26 04:03 README.md [2022-01-26T04:05:21.452Z] drwx------. 3 jenkins jenkins 72 Jan 26 04:03 .semver [2022-01-26T04:05:21.452Z] drwxrwxr-x. 4 jenkins jenkins 54 Jan 26 04:03 snap [2022-01-26T04:05:21.452Z] -rw-rw-r--. 1 jenkins jenkins 5 Jan 26 04:03 VERSION [2022-01-26T04:05:21.452Z] -rw-rw-r--. 1 jenkins jenkins 222 Jan 26 04:03 version.go [Pipeline] isUnix [Pipeline] sh [2022-01-26T04:05:21.791Z] + 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=d10d30cc8d97eeaf505c2ecad143e9858b00d714 --label arch=amd64 --label version=0.0.0 . [2022-01-26T04:05:21.791Z] Sending build context to Docker daemon 9.585MB [2022-01-26T04:05:21.791Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-01-26T04:05:21.791Z] Step 2/25 : FROM ${BASE} AS builder [2022-01-26T04:05:21.791Z] ---> ca1723e192b9 [2022-01-26T04:05:21.791Z] Step 3/25 : ARG MAKE=make build [2022-01-26T04:05:21.791Z] ---> Running in df329330fa55 [2022-01-26T04:05:22.063Z] Removing intermediate container df329330fa55 [2022-01-26T04:05:22.063Z] ---> 7b474a8233d7 [2022-01-26T04:05:22.063Z] Step 4/25 : WORKDIR /device-sdk-go [2022-01-26T04:05:22.063Z] ---> Running in dc02ebb23556 [2022-01-26T04:05:22.063Z] Removing intermediate container dc02ebb23556 [2022-01-26T04:05:22.063Z] ---> 56b1080846ea [2022-01-26T04:05:22.063Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-26T04:05:22.063Z] ---> Running in 62c295ca06e8 [2022-01-26T04:05:22.063Z] Removing intermediate container 62c295ca06e8 [2022-01-26T04:05:22.063Z] ---> 4af0dbb94d4b [2022-01-26T04:05:22.063Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-26T04:05:22.324Z] ---> Running in b4ba3970fbae [2022-01-26T04:05:22.585Z] Removing intermediate container b4ba3970fbae [2022-01-26T04:05:22.585Z] ---> 3f4c9d1dd637 [2022-01-26T04:05:22.585Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-01-26T04:05:22.585Z] ---> Running in 91e0045eeacf [2022-01-26T04:05:22.846Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-01-26T04:05:23.788Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-01-26T04:05:24.050Z] OK: 221 MiB in 52 packages [2022-01-26T04:05:24.312Z] Removing intermediate container 91e0045eeacf [2022-01-26T04:05:24.312Z] ---> 374db7d7f25c [2022-01-26T04:05:24.312Z] Step 8/25 : COPY go.mod vendor* ./ [2022-01-26T04:05:24.312Z] ---> 68f985155570 [2022-01-26T04:05:24.312Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-26T04:05:24.312Z] ---> Running in c02003eb0de4 [2022-01-26T04:05:24.886Z] Removing intermediate container c02003eb0de4 [2022-01-26T04:05:24.886Z] ---> d9b72bcca111 [2022-01-26T04:05:24.886Z] Step 10/25 : COPY . . [2022-01-26T04:05:25.461Z] ---> ef7b6920afaa [2022-01-26T04:05:25.461Z] Step 11/25 : RUN ${MAKE} [2022-01-26T04:05:25.462Z] ---> Running in 0d1b8dbd9dd1 [2022-01-26T04:05:25.722Z] 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-01-26T04:05:35.800Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-01-26T04:05:37.188Z] Removing intermediate container 0d1b8dbd9dd1 [2022-01-26T04:05:37.188Z] ---> 850b87a2d112 [2022-01-26T04:05:37.188Z] Step 12/25 : FROM alpine:3.14 [2022-01-26T04:05:37.759Z] 3.14: Pulling from library/alpine [2022-01-26T04:05:37.759Z] 97518928ae5f: Pulling fs layer [2022-01-26T04:05:38.019Z] 97518928ae5f: Verifying Checksum [2022-01-26T04:05:38.019Z] 97518928ae5f: Download complete [2022-01-26T04:05:38.019Z] 97518928ae5f: Pull complete [2022-01-26T04:05:38.019Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2022-01-26T04:05:38.019Z] Status: Downloaded newer image for alpine:3.14 [2022-01-26T04:05:38.019Z] ---> 0a97eee8041e [2022-01-26T04:05:38.019Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-26T04:05:38.288Z] ---> Running in 68a89d16774e [2022-01-26T04:05:38.288Z] Removing intermediate container 68a89d16774e [2022-01-26T04:05:38.288Z] ---> 263af35c9b28 [2022-01-26T04:05:38.288Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-26T04:05:38.288Z] ---> Running in cbcc9102a9d5 [2022-01-26T04:05:38.862Z] Removing intermediate container cbcc9102a9d5 [2022-01-26T04:05:38.862Z] ---> c6734b9949f9 [2022-01-26T04:05:38.862Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-01-26T04:05:38.862Z] ---> Running in 05b962187d1e [2022-01-26T04:05:38.862Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-01-26T04:05:39.805Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-01-26T04:05:40.067Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-01-26T04:05:40.067Z] (2/5) Installing libsodium (1.0.18-r0) [2022-01-26T04:05:40.328Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-01-26T04:05:40.328Z] (4/5) Installing libzmq (4.3.4-r0) [2022-01-26T04:05:40.596Z] (5/5) Installing zeromq (4.3.4-r0) [2022-01-26T04:05:40.596Z] Executing busybox-1.33.1-r6.trigger [2022-01-26T04:05:40.596Z] OK: 8 MiB in 19 packages [2022-01-26T04:05:40.857Z] Removing intermediate container 05b962187d1e [2022-01-26T04:05:40.857Z] ---> 8880855d4698 [2022-01-26T04:05:40.857Z] Step 16/25 : WORKDIR / [2022-01-26T04:05:40.857Z] ---> Running in 7d07b71310e2 [2022-01-26T04:05:40.857Z] Removing intermediate container 7d07b71310e2 [2022-01-26T04:05:40.857Z] ---> 52dd9c68e770 [2022-01-26T04:05:40.857Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-01-26T04:05:41.117Z] ---> b8f23d3b6813 [2022-01-26T04:05:41.117Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-01-26T04:05:41.377Z] ---> 800c7483c75c [2022-01-26T04:05:41.377Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-01-26T04:05:41.640Z] ---> 2e8cabb26213 [2022-01-26T04:05:41.640Z] Step 20/25 : EXPOSE 59999 [2022-01-26T04:05:41.640Z] ---> Running in ade9e2fe97c6 [2022-01-26T04:05:41.640Z] Removing intermediate container ade9e2fe97c6 [2022-01-26T04:05:41.640Z] ---> 9fa443038523 [2022-01-26T04:05:41.640Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-01-26T04:05:41.640Z] ---> Running in 3fbf0c306e18 [2022-01-26T04:05:41.640Z] Removing intermediate container 3fbf0c306e18 [2022-01-26T04:05:41.640Z] ---> ec5e3b765e9d [2022-01-26T04:05:41.640Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-01-26T04:05:41.640Z] ---> Running in 27e0c267c6e5 [2022-01-26T04:05:41.902Z] Removing intermediate container 27e0c267c6e5 [2022-01-26T04:05:41.903Z] ---> 3bd29d5edb08 [2022-01-26T04:05:41.903Z] Step 23/25 : LABEL arch=amd64 [2022-01-26T04:05:41.903Z] ---> Running in 0557a0b3f86c [2022-01-26T04:05:41.903Z] Removing intermediate container 0557a0b3f86c [2022-01-26T04:05:41.903Z] ---> 6b4fc6a02301 [2022-01-26T04:05:41.903Z] Step 24/25 : LABEL git_sha=d10d30cc8d97eeaf505c2ecad143e9858b00d714 [2022-01-26T04:05:41.903Z] ---> Running in d5142ed528e3 [2022-01-26T04:05:41.903Z] Removing intermediate container d5142ed528e3 [2022-01-26T04:05:41.903Z] ---> a22f5e668b83 [2022-01-26T04:05:41.903Z] Step 25/25 : LABEL version=0.0.0 [2022-01-26T04:05:42.163Z] ---> Running in 682a7637ef3c [2022-01-26T04:05:42.163Z] Removing intermediate container 682a7637ef3c [2022-01-26T04:05:42.163Z] ---> 39a18b963331 [2022-01-26T04:05:42.163Z] [Warning] One or more build-args [ARCH] were not consumed [2022-01-26T04:05:42.163Z] Successfully built 39a18b963331 [2022-01-26T04:05:42.163Z] 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-01-26T04:05:42.920Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-26T04:05:42.920Z] [2022-01-26T04:05:42.920Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-01-26T04:05:43.264Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-26T04:05:43.264Z] latest: Pulling from edgex-lftools-log-publisher [2022-01-26T04:05:43.264Z] b4d181a07f80: Pulling fs layer [2022-01-26T04:05:43.264Z] a1111a8f2ec3: Pulling fs layer [2022-01-26T04:05:43.264Z] ed53099fbce6: Pulling fs layer [2022-01-26T04:05:43.264Z] dc539afda2c1: Pulling fs layer [2022-01-26T04:05:43.264Z] 77bc0d833cb6: Pulling fs layer [2022-01-26T04:05:43.264Z] 9065ff56babe: Pulling fs layer [2022-01-26T04:05:43.264Z] d287ab97295c: Pulling fs layer [2022-01-26T04:05:43.264Z] 77bc0d833cb6: Waiting [2022-01-26T04:05:43.264Z] 9065ff56babe: Waiting [2022-01-26T04:05:43.264Z] d287ab97295c: Waiting [2022-01-26T04:05:43.264Z] dc539afda2c1: Waiting [2022-01-26T04:05:43.264Z] a1111a8f2ec3: Verifying Checksum [2022-01-26T04:05:43.264Z] a1111a8f2ec3: Download complete [2022-01-26T04:05:43.264Z] dc539afda2c1: Verifying Checksum [2022-01-26T04:05:43.264Z] dc539afda2c1: Download complete [2022-01-26T04:05:43.264Z] ed53099fbce6: Verifying Checksum [2022-01-26T04:05:43.264Z] ed53099fbce6: Download complete [2022-01-26T04:05:43.524Z] 9065ff56babe: Verifying Checksum [2022-01-26T04:05:43.524Z] 9065ff56babe: Download complete [2022-01-26T04:05:43.524Z] 77bc0d833cb6: Verifying Checksum [2022-01-26T04:05:43.524Z] 77bc0d833cb6: Download complete [2022-01-26T04:05:43.524Z] b4d181a07f80: Verifying Checksum [2022-01-26T04:05:43.524Z] b4d181a07f80: Download complete [2022-01-26T04:05:44.102Z] d287ab97295c: Verifying Checksum [2022-01-26T04:05:44.102Z] d287ab97295c: Download complete [2022-01-26T04:05:45.066Z] b4d181a07f80: Pull complete [2022-01-26T04:05:45.066Z] a1111a8f2ec3: Pull complete [2022-01-26T04:05:45.652Z] ed53099fbce6: Pull complete [2022-01-26T04:05:45.922Z] dc539afda2c1: Pull complete [2022-01-26T04:05:46.194Z] 77bc0d833cb6: Pull complete [2022-01-26T04:05:46.194Z] 9065ff56babe: Pull complete [2022-01-26T04:05:51.531Z] d287ab97295c: Pull complete [2022-01-26T04:05:51.531Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2022-01-26T04:05:51.531Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-26T04:05:51.531Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-01-26T04:05:51.619Z] prd-centos7-docker-4c-2g-3915 does not seem to be running inside a container [2022-01-26T04:05:51.664Z] $ 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-1089 -v /w/workspace/gexfoundry_device-sdk-go_PR-1089:/w/workspace/gexfoundry_device-sdk-go_PR-1089:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1089@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1089@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-01-26T04:05:54.002Z] $ docker top 6a56ba5fedb6a41d944563b51a5ea63b272599bd3bf35266a7a66e6ee3c12b7b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-26T04:05:54.505Z] ---> job-cost.sh [2022-01-26T04:05:54.505Z] lf-activate-venv: SKIPPING [2022-01-26T04:05:54.505Z] INFO: No Stack... [2022-01-26T04:05:54.767Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-01-26T04:05:55.028Z] INFO: Archiving Costs [Pipeline] sh [2022-01-26T04:05:55.348Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1089/archives/cost.csv [2022-01-26T04:05:55.348Z] + cut -d, -f6 [Pipeline] lock [2022-01-26T04:05:55.388Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1089-1-stack-cost] [2022-01-26T04:05:55.392Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1089-1-stack-cost] did not exist. Created. [2022-01-26T04:05:55.392Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1089-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-01-26T04:05:55.799Z] + echo total: 0.05999999865889549 [Pipeline] stash [2022-01-26T04:05:55.855Z] Stashed 1 file(s) [Pipeline] } [2022-01-26T04:05:55.878Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1089-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-01-26T04:05:55.956Z] $ docker stop --time=1 6a56ba5fedb6a41d944563b51a5ea63b272599bd3bf35266a7a66e6ee3c12b7b [2022-01-26T04:05:57.090Z] $ docker rm -f 6a56ba5fedb6a41d944563b51a5ea63b272599bd3bf35266a7a66e6ee3c12b7b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-01-26T04:07:26.070Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-3917 in /w/workspace/gexfoundry_device-sdk-go_PR-1089 [Pipeline] { [Pipeline] ws [2022-01-26T04:07:26.116Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2022-01-26T04:07:26.344Z] The recommended git tool is: git [2022-01-26T04:07:30.929Z] using credential edgex-jenkins-ssh [2022-01-26T04:07:30.947Z] Cloning the remote Git repository [2022-01-26T04:07:31.005Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2022-01-26T04:07:31.091Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2022-01-26T04:07:31.159Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-01-26T04:07:31.160Z] > git --version # timeout=10 [2022-01-26T04:07:31.178Z] > git --version # 'git version 2.17.1' [2022-01-26T04:07:31.180Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-26T04:07:31.322Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-26T04:07:32.951Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-01-26T04:07:32.971Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-01-26T04:07:33.000Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2022-01-26T04:07:33.034Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2022-01-26T04:07:33.036Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-26T04:07:33.048Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1089/head:refs/remotes/origin/PR-1089 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-01-26T04:07:33.833Z] Merging remotes/origin/main commit 07413fc94cc2b45047bcdb5c40d5c5d8e8da58c2 into PR head commit d10d30cc8d97eeaf505c2ecad143e9858b00d714 [2022-01-26T04:07:34.062Z] Merge succeeded, producing d10d30cc8d97eeaf505c2ecad143e9858b00d714 [2022-01-26T04:07:34.063Z] Checking out Revision d10d30cc8d97eeaf505c2ecad143e9858b00d714 (PR-1089) [2022-01-26T04:07:33.851Z] > git config core.sparsecheckout # timeout=10 [2022-01-26T04:07:33.868Z] > git checkout -f d10d30cc8d97eeaf505c2ecad143e9858b00d714 # timeout=10 [2022-01-26T04:07:33.975Z] > git remote # timeout=10 [2022-01-26T04:07:33.996Z] > git config --get remote.origin.url # timeout=10 [2022-01-26T04:07:34.012Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-01-26T04:07:34.024Z] > git merge 07413fc94cc2b45047bcdb5c40d5c5d8e8da58c2 # timeout=10 [2022-01-26T04:07:34.046Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-01-26T04:07:34.071Z] > git config core.sparsecheckout # timeout=10 [2022-01-26T04:07:34.095Z] > git checkout -f d10d30cc8d97eeaf505c2ecad143e9858b00d714 # timeout=10 [2022-01-26T04:07:38.233Z] Commit message: "feat(webserver): Include ServiceName on Common Responses" [2022-01-26T04:07:38.290Z] > git --version # timeout=10 [2022-01-26T04:07:38.300Z] > git --version # 'git version 2.17.1' [2022-01-26T04:07:38.312Z] fatal: bad object dae07dc806156effb2cae02074e2f5f64a063e83 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-26T04:07:39.444Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-01-26T04:07:39.444Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-01-26T04:07:39.444Z] Dload Upload Total Spent Left Speed [2022-01-26T04:07:39.444Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 81675 0 --:--:-- --:--:-- --:--:-- 81675 [Pipeline] sh [2022-01-26T04:07:40.033Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-01-26T04:07:40.393Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json+ [2022-01-26T04:07:40.393Z] sudo tee /etc/docker/daemon.new [2022-01-26T04:07:40.393Z] { [2022-01-26T04:07:40.393Z] "registry-mirrors": [ [2022-01-26T04:07:40.393Z] "https://nexus3.edgexfoundry.org:10001" [2022-01-26T04:07:40.393Z] ], [2022-01-26T04:07:40.393Z] "bip": "10.250.0.254/24", [2022-01-26T04:07:40.393Z] "hosts": [ [2022-01-26T04:07:40.393Z] "tcp://0.0.0.0:5555", [2022-01-26T04:07:40.393Z] "unix:///var/run/docker.sock" [2022-01-26T04:07:40.393Z] ], [2022-01-26T04:07:40.393Z] "mtu": 1458, [2022-01-26T04:07:40.393Z] "selinux-enabled": true, [2022-01-26T04:07:40.393Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-01-26T04:07:40.393Z] } [Pipeline] sh [2022-01-26T04:07:40.754Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-01-26T04:07:41.116Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-26T04:07:59.492Z] provisioning config files... [2022-01-26T04:07:59.563Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config2899912715925647066tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-26T04:08:00.293Z] ---> docker-login.sh [2022-01-26T04:08:00.293Z] nexus3.edgexfoundry.org:10001 [2022-01-26T04:08:00.888Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-26T04:08:01.159Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-26T04:08:01.159Z] Configure a credential helper to remove this warning. See [2022-01-26T04:08:01.159Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-26T04:08:01.159Z] [2022-01-26T04:08:01.159Z] Login Succeeded [2022-01-26T04:08:01.159Z] nexus3.edgexfoundry.org:10002 [2022-01-26T04:08:01.430Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-26T04:08:01.431Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-26T04:08:01.431Z] Configure a credential helper to remove this warning. See [2022-01-26T04:08:01.431Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-26T04:08:01.431Z] [2022-01-26T04:08:01.431Z] Login Succeeded [2022-01-26T04:08:01.706Z] nexus3.edgexfoundry.org:10003 [2022-01-26T04:08:01.980Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-26T04:08:01.980Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-26T04:08:01.980Z] Configure a credential helper to remove this warning. See [2022-01-26T04:08:01.980Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-26T04:08:01.980Z] [2022-01-26T04:08:01.980Z] Login Succeeded [2022-01-26T04:08:01.980Z] nexus3.edgexfoundry.org:10004 [2022-01-26T04:08:02.253Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-26T04:08:02.253Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-26T04:08:02.253Z] Configure a credential helper to remove this warning. See [2022-01-26T04:08:02.253Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-26T04:08:02.253Z] [2022-01-26T04:08:02.253Z] Login Succeeded [2022-01-26T04:08:02.253Z] docker.io [2022-01-26T04:08:02.532Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-01-26T04:08:03.123Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-01-26T04:08:03.124Z] Configure a credential helper to remove this warning. See [2022-01-26T04:08:03.124Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-01-26T04:08:03.124Z] [2022-01-26T04:08:03.124Z] Login Succeeded [2022-01-26T04:08:03.124Z] ---> docker-login.sh ends [Pipeline] } [2022-01-26T04:08:03.150Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-01-26T04:08:03.498Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-01-26T04:08:03.533Z] ========================================================= [2022-01-26T04:08:03.533Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-01-26T04:08:03.533Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-01-26T04:08:03.976Z] + 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-01-26T04:08:04.258Z] Sending build context to Docker daemon 5.131MB [2022-01-26T04:08:04.258Z] Step 1/11 : ARG BASE=golang:1.17-alpine3.15 [2022-01-26T04:08:04.258Z] Step 2/11 : FROM ${BASE} AS builder [2022-01-26T04:08:04.532Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-01-26T04:08:04.532Z] 9b3977197b4f: Pulling fs layer [2022-01-26T04:08:04.532Z] 1a89e8eeedd5: Pulling fs layer [2022-01-26T04:08:04.532Z] 94645a83ff95: Pulling fs layer [2022-01-26T04:08:04.532Z] 3f3a8bcf1eab: Pulling fs layer [2022-01-26T04:08:04.532Z] 0c92f367c5e7: Pulling fs layer [2022-01-26T04:08:04.532Z] 4b8299f9d1f4: Pulling fs layer [2022-01-26T04:08:04.532Z] 9a6b49a46696: Pulling fs layer [2022-01-26T04:08:04.532Z] cf05db05a679: Pulling fs layer [2022-01-26T04:08:04.532Z] 4b8299f9d1f4: Waiting [2022-01-26T04:08:04.532Z] 9a6b49a46696: Waiting [2022-01-26T04:08:04.532Z] cf05db05a679: Waiting [2022-01-26T04:08:04.532Z] 3f3a8bcf1eab: Waiting [2022-01-26T04:08:04.532Z] 0c92f367c5e7: Waiting [2022-01-26T04:08:04.532Z] 94645a83ff95: Verifying Checksum [2022-01-26T04:08:04.532Z] 94645a83ff95: Download complete [2022-01-26T04:08:04.532Z] 1a89e8eeedd5: Verifying Checksum [2022-01-26T04:08:04.532Z] 1a89e8eeedd5: Download complete [2022-01-26T04:08:04.532Z] 0c92f367c5e7: Download complete [2022-01-26T04:08:04.532Z] 4b8299f9d1f4: Verifying Checksum [2022-01-26T04:08:04.532Z] 4b8299f9d1f4: Download complete [2022-01-26T04:08:04.532Z] 9b3977197b4f: Download complete [2022-01-26T04:08:04.532Z] 9a6b49a46696: Verifying Checksum [2022-01-26T04:08:04.532Z] 9a6b49a46696: Download complete [2022-01-26T04:08:05.529Z] 9b3977197b4f: Pull complete [2022-01-26T04:08:05.811Z] 1a89e8eeedd5: Pull complete [2022-01-26T04:08:06.084Z] 94645a83ff95: Pull complete [2022-01-26T04:08:06.357Z] cf05db05a679: Verifying Checksum [2022-01-26T04:08:06.357Z] cf05db05a679: Download complete [2022-01-26T04:08:06.950Z] 3f3a8bcf1eab: Download complete [2022-01-26T04:08:19.334Z] 3f3a8bcf1eab: Pull complete [2022-01-26T04:08:19.334Z] 0c92f367c5e7: Pull complete [2022-01-26T04:08:19.334Z] 4b8299f9d1f4: Pull complete [2022-01-26T04:08:19.334Z] 9a6b49a46696: Pull complete [2022-01-26T04:08:24.740Z] cf05db05a679: Pull complete [2022-01-26T04:08:24.740Z] Digest: sha256:412614556fb143d068119134f73b4a6d2e86ac7be33fa5b1c0cdba920e4bb5c6 [2022-01-26T04:08:24.740Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-01-26T04:08:24.740Z] ---> 0ccda1f7e2ee [2022-01-26T04:08:24.740Z] Step 3/11 : ARG MAKE=make build [2022-01-26T04:08:26.176Z] ---> Running in 8a9653aa9866 [2022-01-26T04:08:26.176Z] Removing intermediate container 8a9653aa9866 [2022-01-26T04:08:26.176Z] ---> 6108f61cb2a6 [2022-01-26T04:08:26.176Z] Step 4/11 : WORKDIR /device-sdk-go [2022-01-26T04:08:26.176Z] ---> Running in 68ff7084d251 [2022-01-26T04:08:26.771Z] Removing intermediate container 68ff7084d251 [2022-01-26T04:08:26.771Z] ---> dcd854e607fd [2022-01-26T04:08:26.771Z] Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-26T04:08:26.771Z] ---> Running in 08a351dc52a0 [2022-01-26T04:08:27.043Z] Removing intermediate container 08a351dc52a0 [2022-01-26T04:08:27.043Z] ---> 87db91bf300b [2022-01-26T04:08:27.043Z] Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-26T04:08:27.317Z] ---> Running in 73966739194e [2022-01-26T04:08:29.294Z] Removing intermediate container 73966739194e [2022-01-26T04:08:29.294Z] ---> 875f8b104877 [2022-01-26T04:08:29.294Z] Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-01-26T04:08:29.294Z] ---> Running in 2ca3247ab0cb [2022-01-26T04:08:29.890Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-01-26T04:08:30.867Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-01-26T04:08:31.846Z] OK: 220 MiB in 52 packages [2022-01-26T04:08:32.443Z] Removing intermediate container 2ca3247ab0cb [2022-01-26T04:08:32.443Z] ---> 5663bae4b1f9 [2022-01-26T04:08:32.443Z] Step 8/11 : COPY go.mod vendor* ./ [2022-01-26T04:08:33.045Z] ---> bc3768031a6e [2022-01-26T04:08:33.045Z] Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-26T04:08:33.045Z] ---> Running in 9c19a5691643 [2022-01-26T04:09:41.074Z] Removing intermediate container 9c19a5691643 [2022-01-26T04:09:41.074Z] ---> a806f7e3367f [2022-01-26T04:09:41.074Z] Step 10/11 : COPY . . [2022-01-26T04:09:41.346Z] ---> 85276296ad85 [2022-01-26T04:09:41.346Z] Step 11/11 : RUN ${MAKE} [2022-01-26T04:09:41.346Z] ---> Running in d92112efffae [2022-01-26T04:09:42.327Z] noop [2022-01-26T04:09:42.923Z] Removing intermediate container d92112efffae [2022-01-26T04:09:42.923Z] ---> 59c2bac9f695 [2022-01-26T04:09:43.200Z] Successfully built 59c2bac9f695 [2022-01-26T04:09:43.200Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-01-26T04:09:43.577Z] + docker inspect -f . ci-base-image-arm64 [2022-01-26T04:09:43.577Z] . [Pipeline] withDockerContainer [2022-01-26T04:09:43.824Z] prd-ubuntu18.04-docker-arm64-4c-16g-3917 does not seem to be running inside a container [2022-01-26T04:09:43.908Z] $ 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-01-26T04:09:45.214Z] $ docker top 2f9a8033ab7f5cce9d25d8c09c1eecaa365370096298f1a1e0136e4a97fd94e2 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-26T04:09:46.157Z] + go version [2022-01-26T04:09:46.157Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-01-26T04:09:46.193Z] $ docker stop --time=1 2f9a8033ab7f5cce9d25d8c09c1eecaa365370096298f1a1e0136e4a97fd94e2 [2022-01-26T04:09:47.820Z] $ docker rm -f 2f9a8033ab7f5cce9d25d8c09c1eecaa365370096298f1a1e0136e4a97fd94e2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-01-26T04:09:48.700Z] + docker inspect -f . ci-base-image-arm64 [2022-01-26T04:09:48.701Z] . [Pipeline] withDockerContainer [2022-01-26T04:09:48.950Z] prd-ubuntu18.04-docker-arm64-4c-16g-3917 does not seem to be running inside a container [2022-01-26T04:09:49.030Z] $ 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-01-26T04:09:50.356Z] $ docker top 751dc9072259cc8edf98c74f42ad794b1d727a59bffe7363237c0a400911069a -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-01-26T04:09:51.339Z] + make test [2022-01-26T04:09:51.339Z] GO111MODULE=on go test -coverprofile=coverage.out ./... [2022-01-26T04:09:52.781Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2022-01-26T04:10:39.806Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2022-01-26T04:10:39.806Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2022-01-26T04:10:39.806Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2022-01-26T04:10:46.542Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.087s coverage: 23.3% of statements [2022-01-26T04:10:46.542Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2022-01-26T04:10:46.542Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.099s coverage: 27.6% of statements [2022-01-26T04:10:46.542Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.090s coverage: 78.9% of statements [2022-01-26T04:10:46.542Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.060s coverage: 9.0% of statements [2022-01-26T04:10:46.543Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2022-01-26T04:10:46.543Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2022-01-26T04:10:46.543Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2022-01-26T04:10:47.541Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.090s coverage: 28.7% of statements [2022-01-26T04:10:47.541Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2022-01-26T04:10:48.985Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.062s coverage: 86.1% of statements [2022-01-26T04:10:48.985Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2022-01-26T04:10:48.985Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2022-01-26T04:10:48.985Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.081s coverage: 57.4% of statements [2022-01-26T04:10:49.964Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.178s coverage: 89.2% of statements [2022-01-26T04:10:49.964Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2022-01-26T04:10:49.964Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.049s coverage: 4.8% of statements [2022-01-26T04:10:49.964Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2022-01-26T04:10:50.560Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-01-26T04:10:50.560Z] GO111MODULE=on go vet ./... [2022-01-26T04:11:12.749Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-01-26T04:11:12.749Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-01-26T04:11:12.749Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-01-26T04:11:12.788Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-01-26T04:11:12.815Z] $ docker stop --time=1 751dc9072259cc8edf98c74f42ad794b1d727a59bffe7363237c0a400911069a [2022-01-26T04:11:14.577Z] $ docker rm -f 751dc9072259cc8edf98c74f42ad794b1d727a59bffe7363237c0a400911069a [Pipeline] // withDockerContainer [Pipeline] sh [2022-01-26T04:11:15.491Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-01-26T04:11:15.527Z] Warning: overwriting stash ‘coverage-report’ [2022-01-26T04:11:16.053Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-01-26T04:11:16.645Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-01-26T04:11:16.998Z] + ls -al . [2022-01-26T04:11:16.998Z] total 308 [2022-01-26T04:11:16.998Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 26 04:11 . [2022-01-26T04:11:16.998Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 26 04:07 .. [2022-01-26T04:11:16.998Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 26 04:07 .dockerignore [2022-01-26T04:11:16.998Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 26 04:07 .git [2022-01-26T04:11:16.998Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 26 04:07 .github [2022-01-26T04:11:16.998Z] -rw-rw-r-- 1 jenkins jenkins 131 Jan 26 04:07 .gitignore [2022-01-26T04:11:16.998Z] -rw-rw-r-- 1 jenkins jenkins 42 Jan 26 04:07 .golangci.yml [2022-01-26T04:11:16.998Z] -rw-rw-r-- 1 jenkins jenkins 26321 Jan 26 04:07 CHANGELOG.md [2022-01-26T04:11:16.998Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 26 04:07 GOVERNANCE.md [2022-01-26T04:11:16.998Z] -rw-rw-r-- 1 jenkins jenkins 880 Jan 26 04:07 Jenkinsfile [2022-01-26T04:11:16.998Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jan 26 04:07 LICENSE [2022-01-26T04:11:16.998Z] -rw-rw-r-- 1 jenkins jenkins 1614 Jan 26 04:07 Makefile [2022-01-26T04:11:16.998Z] -rw-rw-r-- 1 jenkins jenkins 619 Jan 26 04:07 OWNERS.md [2022-01-26T04:11:16.998Z] -rw-rw-r-- 1 jenkins jenkins 4881 Jan 26 04:07 README.md [2022-01-26T04:11:16.998Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 26 04:03 VERSION [2022-01-26T04:11:16.998Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 26 04:07 bin [2022-01-26T04:11:16.998Z] -rw-r--r-- 1 jenkins jenkins 128608 Jan 26 04:10 coverage.out [2022-01-26T04:11:16.998Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 26 04:07 example [2022-01-26T04:11:16.998Z] -rw-rw-r-- 1 jenkins jenkins 2766 Jan 26 04:07 go.mod [2022-01-26T04:11:16.998Z] -rw-rw-r-- 1 jenkins jenkins 49665 Jan 26 04:07 go.sum [2022-01-26T04:11:16.998Z] drwxrwxr-x 15 jenkins jenkins 4096 Jan 26 04:07 internal [2022-01-26T04:11:16.998Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 26 04:07 openapi [2022-01-26T04:11:16.998Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 26 04:07 pkg [2022-01-26T04:11:16.998Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 26 04:07 snap [2022-01-26T04:11:16.998Z] -rw-rw-r-- 1 jenkins jenkins 222 Jan 26 04:07 version.go [Pipeline] isUnix [Pipeline] sh [2022-01-26T04:11:17.373Z] + 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=d10d30cc8d97eeaf505c2ecad143e9858b00d714 --label arch=arm64 --label version=0.0.0 . [2022-01-26T04:11:17.982Z] Sending build context to Docker daemon 5.261MB [2022-01-26T04:11:17.982Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-01-26T04:11:17.982Z] Step 2/25 : FROM ${BASE} AS builder [2022-01-26T04:11:17.982Z] ---> 59c2bac9f695 [2022-01-26T04:11:17.982Z] Step 3/25 : ARG MAKE=make build [2022-01-26T04:11:17.982Z] ---> Running in 1becea0199c0 [2022-01-26T04:11:18.255Z] Removing intermediate container 1becea0199c0 [2022-01-26T04:11:18.255Z] ---> 304fba814b9a [2022-01-26T04:11:18.255Z] Step 4/25 : WORKDIR /device-sdk-go [2022-01-26T04:11:18.528Z] ---> Running in 06c6c285adeb [2022-01-26T04:11:18.801Z] Removing intermediate container 06c6c285adeb [2022-01-26T04:11:18.801Z] ---> ab7b8b41cd4d [2022-01-26T04:11:18.801Z] Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-26T04:11:19.088Z] ---> Running in b291a8e27508 [2022-01-26T04:11:19.362Z] Removing intermediate container b291a8e27508 [2022-01-26T04:11:19.362Z] ---> 284c62a3a3b9 [2022-01-26T04:11:19.362Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-26T04:11:19.362Z] ---> Running in 3ff40ef4d1c4 [2022-01-26T04:11:21.339Z] Removing intermediate container 3ff40ef4d1c4 [2022-01-26T04:11:21.339Z] ---> 581262b86529 [2022-01-26T04:11:21.339Z] Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2022-01-26T04:11:21.339Z] ---> Running in f64590b5d471 [2022-01-26T04:11:21.933Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-01-26T04:11:22.909Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-01-26T04:11:23.892Z] OK: 220 MiB in 52 packages [2022-01-26T04:11:24.492Z] Removing intermediate container f64590b5d471 [2022-01-26T04:11:24.492Z] ---> 0107025a3b0e [2022-01-26T04:11:24.492Z] Step 8/25 : COPY go.mod vendor* ./ [2022-01-26T04:11:25.092Z] ---> 7ff0490b3334 [2022-01-26T04:11:25.092Z] Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-01-26T04:11:25.370Z] ---> Running in 9d956d6ee4f3 [2022-01-26T04:11:27.351Z] Removing intermediate container 9d956d6ee4f3 [2022-01-26T04:11:27.351Z] ---> d9491c54bb2e [2022-01-26T04:11:27.351Z] Step 10/25 : COPY . . [2022-01-26T04:11:28.791Z] ---> 061bd45e9eb8 [2022-01-26T04:11:28.791Z] Step 11/25 : RUN ${MAKE} [2022-01-26T04:11:28.791Z] ---> Running in 177a05af502c [2022-01-26T04:11:29.782Z] 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-01-26T04:12:08.795Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2022-01-26T04:12:08.795Z] Removing intermediate container 177a05af502c [2022-01-26T04:12:08.795Z] ---> 83d8c2a47762 [2022-01-26T04:12:08.795Z] Step 12/25 : FROM alpine:3.14 [2022-01-26T04:12:08.795Z] 3.14: Pulling from library/alpine [2022-01-26T04:12:08.795Z] be307f383ecc: Pulling fs layer [2022-01-26T04:12:08.795Z] be307f383ecc: Verifying Checksum [2022-01-26T04:12:09.393Z] be307f383ecc: Pull complete [2022-01-26T04:12:09.393Z] Digest: sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2 [2022-01-26T04:12:09.393Z] Status: Downloaded newer image for alpine:3.14 [2022-01-26T04:12:09.393Z] ---> 5b8b7b635229 [2022-01-26T04:12:09.393Z] Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2022-01-26T04:12:09.393Z] ---> Running in 29f40b5568e5 [2022-01-26T04:12:09.669Z] Removing intermediate container 29f40b5568e5 [2022-01-26T04:12:09.669Z] ---> 92961023cd8c [2022-01-26T04:12:09.669Z] Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-01-26T04:12:09.946Z] ---> Running in 338bef092f08 [2022-01-26T04:12:11.383Z] Removing intermediate container 338bef092f08 [2022-01-26T04:12:11.383Z] ---> a21046caa0cd [2022-01-26T04:12:11.383Z] Step 15/25 : RUN apk add --update --no-cache zeromq [2022-01-26T04:12:11.657Z] ---> Running in 02bc3f0b680d [2022-01-26T04:12:12.639Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-01-26T04:12:13.618Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-01-26T04:12:14.212Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2022-01-26T04:12:14.212Z] (2/5) Installing libsodium (1.0.18-r0) [2022-01-26T04:12:14.212Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2022-01-26T04:12:14.486Z] (4/5) Installing libzmq (4.3.4-r0) [2022-01-26T04:12:14.486Z] (5/5) Installing zeromq (4.3.4-r0) [2022-01-26T04:12:14.762Z] Executing busybox-1.33.1-r6.trigger [2022-01-26T04:12:14.762Z] OK: 8 MiB in 19 packages [2022-01-26T04:12:15.739Z] Removing intermediate container 02bc3f0b680d [2022-01-26T04:12:15.739Z] ---> af59a8e816eb [2022-01-26T04:12:15.739Z] Step 16/25 : WORKDIR / [2022-01-26T04:12:15.739Z] ---> Running in a95c0f4b1182 [2022-01-26T04:12:16.011Z] Removing intermediate container a95c0f4b1182 [2022-01-26T04:12:16.011Z] ---> 5861594d4521 [2022-01-26T04:12:16.011Z] Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2022-01-26T04:12:16.605Z] ---> 69038e67b2ef [2022-01-26T04:12:16.605Z] Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2022-01-26T04:12:17.584Z] ---> 4d6d655a99b2 [2022-01-26T04:12:17.584Z] Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2022-01-26T04:12:18.187Z] ---> 696626c375ab [2022-01-26T04:12:18.187Z] Step 20/25 : EXPOSE 59999 [2022-01-26T04:12:18.187Z] ---> Running in 515e15af9283 [2022-01-26T04:12:18.781Z] Removing intermediate container 515e15af9283 [2022-01-26T04:12:18.781Z] ---> 1d4a09364926 [2022-01-26T04:12:18.781Z] Step 21/25 : ENTRYPOINT ["/device-simple"] [2022-01-26T04:12:18.781Z] ---> Running in bb5b3c2dce58 [2022-01-26T04:12:19.053Z] Removing intermediate container bb5b3c2dce58 [2022-01-26T04:12:19.053Z] ---> fb61c3b22435 [2022-01-26T04:12:19.053Z] Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-01-26T04:12:19.053Z] ---> Running in 7f563fa29554 [2022-01-26T04:12:19.324Z] Removing intermediate container 7f563fa29554 [2022-01-26T04:12:19.324Z] ---> 240225c17fa9 [2022-01-26T04:12:19.324Z] Step 23/25 : LABEL arch=arm64 [2022-01-26T04:12:19.595Z] ---> Running in b3823a20cb5a [2022-01-26T04:12:19.872Z] Removing intermediate container b3823a20cb5a [2022-01-26T04:12:19.872Z] ---> ac51c4f065d1 [2022-01-26T04:12:19.872Z] Step 24/25 : LABEL git_sha=d10d30cc8d97eeaf505c2ecad143e9858b00d714 [2022-01-26T04:12:19.872Z] ---> Running in c23b8cf89da6 [2022-01-26T04:12:20.468Z] Removing intermediate container c23b8cf89da6 [2022-01-26T04:12:20.468Z] ---> 4a0353d8630b [2022-01-26T04:12:20.468Z] Step 25/25 : LABEL version=0.0.0 [2022-01-26T04:12:20.468Z] ---> Running in dec4903dd036 [2022-01-26T04:12:20.742Z] Removing intermediate container dec4903dd036 [2022-01-26T04:12:20.742Z] ---> 1ee702c4ad04 [2022-01-26T04:12:20.742Z] [Warning] One or more build-args [ARCH] were not consumed [2022-01-26T04:12:20.742Z] Successfully built 1ee702c4ad04 [2022-01-26T04:12:20.742Z] 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-01-26T04:12:21.418Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-26T04:12:21.418Z] [2022-01-26T04:12:21.418Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-01-26T04:12:21.798Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-26T04:12:21.798Z] arm64: Pulling from edgex-lftools-log-publisher [2022-01-26T04:12:21.798Z] 448f6bf000e3: Pulling fs layer [2022-01-26T04:12:21.798Z] f757da607395: Pulling fs layer [2022-01-26T04:12:21.798Z] 05883995daec: Pulling fs layer [2022-01-26T04:12:21.798Z] 8603b9c90790: Pulling fs layer [2022-01-26T04:12:21.798Z] 1560dd03e051: Pulling fs layer [2022-01-26T04:12:21.798Z] 27f5ce0e4adf: Pulling fs layer [2022-01-26T04:12:21.798Z] c2d8d7efcc4b: Pulling fs layer [2022-01-26T04:12:21.798Z] 1560dd03e051: Waiting [2022-01-26T04:12:21.798Z] 8603b9c90790: Waiting [2022-01-26T04:12:21.798Z] 27f5ce0e4adf: Waiting [2022-01-26T04:12:21.798Z] c2d8d7efcc4b: Waiting [2022-01-26T04:12:22.069Z] f757da607395: Verifying Checksum [2022-01-26T04:12:22.069Z] f757da607395: Download complete [2022-01-26T04:12:22.069Z] 8603b9c90790: Verifying Checksum [2022-01-26T04:12:22.069Z] 8603b9c90790: Download complete [2022-01-26T04:12:22.069Z] 1560dd03e051: Verifying Checksum [2022-01-26T04:12:22.069Z] 1560dd03e051: Download complete [2022-01-26T04:12:22.069Z] 27f5ce0e4adf: Verifying Checksum [2022-01-26T04:12:22.069Z] 27f5ce0e4adf: Download complete [2022-01-26T04:12:22.069Z] 05883995daec: Verifying Checksum [2022-01-26T04:12:22.069Z] 05883995daec: Download complete [2022-01-26T04:12:22.346Z] 448f6bf000e3: Verifying Checksum [2022-01-26T04:12:22.346Z] 448f6bf000e3: Download complete [2022-01-26T04:12:24.968Z] c2d8d7efcc4b: Verifying Checksum [2022-01-26T04:12:24.968Z] c2d8d7efcc4b: Download complete [2022-01-26T04:12:26.400Z] 448f6bf000e3: Pull complete [2022-01-26T04:12:26.673Z] f757da607395: Pull complete [2022-01-26T04:12:28.101Z] 05883995daec: Pull complete [2022-01-26T04:12:28.373Z] 8603b9c90790: Pull complete [2022-01-26T04:12:28.983Z] 1560dd03e051: Pull complete [2022-01-26T04:12:29.254Z] 27f5ce0e4adf: Pull complete [2022-01-26T04:12:44.379Z] c2d8d7efcc4b: Pull complete [2022-01-26T04:12:44.379Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2022-01-26T04:12:44.379Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-01-26T04:12:44.379Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-01-26T04:12:44.633Z] prd-ubuntu18.04-docker-arm64-4c-16g-3917 does not seem to be running inside a container [2022-01-26T04:12:44.724Z] $ 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-01-26T04:12:47.422Z] $ docker top 658b353b5861b94679b1b7e2d22aef15b72aaeb03db9b5e95638e37d521b1f9e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-01-26T04:12:48.420Z] ---> job-cost.sh [2022-01-26T04:12:48.420Z] lf-activate-venv: SKIPPING [2022-01-26T04:12:48.420Z] INFO: No Stack... [2022-01-26T04:12:49.013Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-01-26T04:12:49.286Z] INFO: Archiving Costs [Pipeline] sh [2022-01-26T04:12:49.962Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2022-01-26T04:12:49.962Z] + cut -d, -f6 [Pipeline] lock [2022-01-26T04:12:50.048Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1089-1-stack-cost] [2022-01-26T04:12:50.053Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1089-1-stack-cost] did not exist. Created. [2022-01-26T04:12:50.053Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1089-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-01-26T04:12:50.802Z] /w/workspace/device-sdk-go/1@tmp/durable-379d2994/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-379d2994/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2022-01-26T04:12:51.521Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-01-26T04:12:51.559Z] Warning: overwriting stash ‘stack-cost’ [2022-01-26T04:12:51.618Z] Stashed 1 file(s) [Pipeline] } [2022-01-26T04:12:51.634Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1089-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-01-26T04:12:51.713Z] $ docker stop --time=1 658b353b5861b94679b1b7e2d22aef15b72aaeb03db9b5e95638e37d521b1f9e [2022-01-26T04:12:53.227Z] $ docker rm -f 658b353b5861b94679b1b7e2d22aef15b72aaeb03db9b5e95638e37d521b1f9e [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-01-26T04:12:54.228Z] provisioning config files... [2022-01-26T04:12:54.236Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1089@tmp/config5122880345676678682tmp [Pipeline] { [Pipeline] sh [2022-01-26T04:12:54.575Z] + set +x [2022-01-26T04:12:54.575Z] + curl -s https://codecov.io/bash [2022-01-26T04:12:54.575Z] + bash -s -- [2022-01-26T04:12:54.575Z] [2022-01-26T04:12:54.575Z] _____ _ [2022-01-26T04:12:54.575Z] / ____| | | [2022-01-26T04:12:54.575Z] | | ___ __| | ___ ___ _____ __ [2022-01-26T04:12:54.575Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-01-26T04:12:54.575Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-01-26T04:12:54.575Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-01-26T04:12:54.575Z] Bash-1.0.6 [2022-01-26T04:12:54.575Z] [2022-01-26T04:12:54.575Z] [2022-01-26T04:12:54.575Z] ==> git version 2.24.4 found [2022-01-26T04:12:54.575Z] ==> 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-01-26T04:12:54.575Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2022-01-26T04:12:54.575Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2022-01-26T04:12:54.575Z] ==> Jenkins CI detected. [2022-01-26T04:12:54.575Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1089 [2022-01-26T04:12:54.575Z] project root: . [2022-01-26T04:12:54.575Z] --> token set from env [2022-01-26T04:12:54.575Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-01-26T04:12:54.575Z] ==> Running gcov in . (disable via -X gcov) [2022-01-26T04:12:54.575Z] ==> Python coveragepy not found [2022-01-26T04:12:54.575Z] ==> Searching for coverage reports in: [2022-01-26T04:12:54.575Z] + . [2022-01-26T04:12:54.575Z] -> Found 1 reports [2022-01-26T04:12:54.575Z] ==> Detecting git/mercurial file structure [2022-01-26T04:12:54.575Z] ==> Reading reports [2022-01-26T04:12:54.575Z] + ./coverage.out bytes=128608 [2022-01-26T04:12:54.575Z] ==> Appending adjustments [2022-01-26T04:12:54.575Z] https://docs.codecov.io/docs/fixing-reports [2022-01-26T04:12:54.837Z] + Found adjustments [2022-01-26T04:12:54.837Z] ==> Gzipping contents [2022-01-26T04:12:54.837Z] 16K /tmp/codecov.dvSTwA.gz [2022-01-26T04:12:54.837Z] ==> Uploading reports [2022-01-26T04:12:54.837Z] url: https://codecov.io [2022-01-26T04:12:54.837Z] query: branch=PR-1089&commit=d10d30cc8d97eeaf505c2ecad143e9858b00d714&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1089%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1089&job=&cmd_args= [2022-01-26T04:12:54.837Z] -> Pinging Codecov [2022-01-26T04:12:54.837Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1089&commit=d10d30cc8d97eeaf505c2ecad143e9858b00d714&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1089%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1089&job=&cmd_args= [2022-01-26T04:12:55.410Z] -> Uploading to [2022-01-26T04:12:55.410Z] https://storage.googleapis.com/codecov/v4/raw/2022-01-26/7E55EF52A471D76F132DFD9A03CDDE97/d10d30cc8d97eeaf505c2ecad143e9858b00d714/1ef4a97e-c9bd-48a2-b9a6-79960e552e95.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220126%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220126T041255Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=21a7f434856f2506ab26e8c8458cbc021ef2941ee2de78530cd43f941d7a131f [2022-01-26T04:12:55.410Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-01-26T04:12:55.410Z] Dload Upload Total Spent Left Speed [2022-01-26T04:12:55.671Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16058 0 0 100 16058 0 49420 --:--:-- --:--:-- --:--:-- 49561 [2022-01-26T04:12:55.671Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/d10d30cc8d97eeaf505c2ecad143e9858b00d714 [Pipeline] } [2022-01-26T04:12:55.695Z] 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-01-26T04:12:57.389Z] + '[' -d /w/workspace/gexfoundry_device-sdk-go_PR-1089/archives ']' [2022-01-26T04:12:57.389Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1089/archives [2022-01-26T04:12:57.389Z] total 8 [2022-01-26T04:12:57.389Z] drwxr-xr-x. 3 root root 34 Jan 26 04:05 . [2022-01-26T04:12:57.389Z] drwxrwxr-x. 12 jenkins jenkins 4096 Jan 26 04:05 .. [2022-01-26T04:12:57.389Z] drwxr-xr-x. 2 root root 6 Jan 26 04:05 cost [2022-01-26T04:12:57.389Z] -rw-r--r--. 1 root root 85 Jan 26 04:05 cost.csv [2022-01-26T04:12:57.389Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1089/archives [2022-01-26T04:12:57.389Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1089/archives [2022-01-26T04:12:57.389Z] total 8 [2022-01-26T04:12:57.389Z] drwxr-xr-x. 3 jenkins jenkins 34 Jan 26 04:05 . [2022-01-26T04:12:57.389Z] drwxrwxr-x. 12 jenkins jenkins 4096 Jan 26 04:05 .. [2022-01-26T04:12:57.389Z] drwxr-xr-x. 2 jenkins jenkins 6 Jan 26 04:05 cost [2022-01-26T04:12:57.389Z] -rw-r--r--. 1 jenkins jenkins 85 Jan 26 04:05 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-01-26T04:12:57.717Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-26T04:12:58.310Z] ---> package-listing.sh [2022-01-26T04:12:58.310Z] ++ facter osfamily [2022-01-26T04:12:58.310Z] ++ tr '[:upper:]' '[:lower:]' [2022-01-26T04:12:58.576Z] + OS_FAMILY=redhat [2022-01-26T04:12:58.576Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1089 [2022-01-26T04:12:58.576Z] + START_PACKAGES=/tmp/packages_start.txt [2022-01-26T04:12:58.576Z] + END_PACKAGES=/tmp/packages_end.txt [2022-01-26T04:12:58.576Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-01-26T04:12:58.576Z] + PACKAGES=/tmp/packages_start.txt [2022-01-26T04:12:58.576Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1089 ']' [2022-01-26T04:12:58.576Z] + PACKAGES=/tmp/packages_end.txt [2022-01-26T04:12:58.576Z] + case "${OS_FAMILY}" in [2022-01-26T04:12:58.576Z] + rpm -qa [2022-01-26T04:12:58.576Z] + sort [2022-01-26T04:12:59.153Z] + '[' -f /tmp/packages_start.txt ']' [2022-01-26T04:12:59.153Z] + '[' -f /tmp/packages_end.txt ']' [2022-01-26T04:12:59.153Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-01-26T04:12:59.153Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1089 ']' [2022-01-26T04:12:59.153Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1089/archives/ [2022-01-26T04:12:59.153Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1089/archives/ [Pipeline] echo [2022-01-26T04:12:59.185Z] 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-1089/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-01-26T04:12:59.483Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-01-26T04:13:00.065Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-01-26T04:13:00.065Z] . [Pipeline] withDockerContainer [2022-01-26T04:13:00.143Z] prd-centos7-docker-4c-2g-3915 does not seem to be running inside a container [2022-01-26T04:13:00.175Z] $ 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-1089/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-1089 -v /w/workspace/gexfoundry_device-sdk-go_PR-1089:/w/workspace/gexfoundry_device-sdk-go_PR-1089:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1089@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1089@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-01-26T04:13:00.354Z] $ docker top 369e5b46baa1f7f916a1132694c49eb3a29b9e1d8e1d13467660f1329ab3ba0e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-01-26T04:13:00.742Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-01-26T04:13:01.053Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-01-26T04:13:01.367Z] + ls /var/log/sa-host [2022-01-26T04:13:01.367Z] + sadf -c /var/log/sa-host/sa17 [2022-01-26T04:13:01.367Z] file_magic: OK [2022-01-26T04:13:01.367Z] HZ: Using current value: 100 [2022-01-26T04:13:01.367Z] file_header: OK [2022-01-26T04:13:01.367Z] 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-01-26T04:13:01.367Z] Statistics: [2022-01-26T04:13:01.367Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-01-26T04:13:01.367Z] File successfully converted to sysstat format version 12.0.3 [2022-01-26T04:13:01.367Z] + sadf -c /var/log/sa-host/sa26 [2022-01-26T04:13:01.367Z] file_magic: OK [2022-01-26T04:13:01.367Z] HZ: Using current value: 100 [2022-01-26T04:13:01.367Z] file_header: OK [2022-01-26T04:13:01.367Z] 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-01-26T04:13:01.367Z] Statistics: [2022-01-26T04:13:01.367Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2022-01-26T04:13:01.367Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-01-26T04:13:01.646Z] provisioning config files... [2022-01-26T04:13:01.655Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1089@tmp/config3577444843277591876tmp [Pipeline] { [Pipeline] echo [2022-01-26T04:13:01.698Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-26T04:13:02.015Z] ---> create-netrc.sh [Pipeline] } [2022-01-26T04:13:02.040Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-01-26T04:13:02.435Z] ---> python-tools-install.sh [Pipeline] echo [2022-01-26T04:13:02.464Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-26T04:13:02.773Z] ---> sudo-logs.sh [2022-01-26T04:13:02.773Z] Archiving 'sudo' log.. [2022-01-26T04:13:02.773Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-3915.novalocal: Name or service not known [2022-01-26T04:13:02.773Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-3915.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2022-01-26T04:13:02.865Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-26T04:13:03.183Z] ---> job-cost.sh [2022-01-26T04:13:03.183Z] lf-activate-venv: SKIPPING [2022-01-26T04:13:03.183Z] DEBUG: total: 0.05999999865889549 [2022-01-26T04:13:03.183Z] INFO: Retrieving Stack Cost... [2022-01-26T04:13:03.757Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2022-01-26T04:13:04.017Z] INFO: Archiving Costs [Pipeline] echo [2022-01-26T04:13:04.058Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-01-26T04:13:04.377Z] ---> logs-deploy.sh [2022-01-26T04:13:04.377Z] lf-activate-venv: SKIPPING [2022-01-26T04:13:04.377Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1089/1 [2022-01-26T04:13:04.377Z] INFO: archiving workspace using pattern(s): [2022-01-26T04:13:04.948Z] Archives upload complete. [2022-01-26T04:13:05.210Z] INFO: archiving logs to Nexus