Pull request #1067 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 03476fba7273d9a3d87a9cc93fc1a73ffe49ac2b+8594ac2f7ffce9ed2fa5e632b0287c300efb8695 (42e3be9468fbb42324ea22575974cdec456c6a93) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh6597290820130985143.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a03e002eace0db65b27acd1444eb3c4392a49323 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh4490588868374263427.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision a03e002eace0db65b27acd1444eb3c4392a49323 The recommended git tool is: git using credential edgex-jenkins-ssh 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-1067/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-1067/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh4924596434505991383.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-1067/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1168447752310275325.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a03e002eace0db65b27acd1444eb3c4392a49323 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a03e002eace0db65b27acd1444eb3c4392a49323 # timeout=10 Commit message: "Merge pull request #364 from ernestojeda/fix-folder-name" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > 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-ssh3167850969083252614.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-1067/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-1067/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh2293513326655754896.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 a03e002eace0db65b27acd1444eb3c4392a49323 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘centos7-docker-4c-2g’ are offline Running on prd-centos7-docker-4c-2g-232 in /w/workspace/gexfoundry_device-sdk-go_PR-1067 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-sdk-go.git > git init /w/workspace/gexfoundry_device-sdk-go_PR-1067 # 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-1067@tmp/jenkins-gitclient-ssh4664408210128580289.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /w/workspace/gexfoundry_device-sdk-go_PR-1067@tmp/jenkins-gitclient-ssh937651348621198340.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1067/head:refs/remotes/origin/PR-1067 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 8594ac2f7ffce9ed2fa5e632b0287c300efb8695 into PR head commit 03476fba7273d9a3d87a9cc93fc1a73ffe49ac2b Merge succeeded, producing 03476fba7273d9a3d87a9cc93fc1a73ffe49ac2b Checking out Revision 03476fba7273d9a3d87a9cc93fc1a73ffe49ac2b (PR-1067) > git config core.sparsecheckout # timeout=10 > git checkout -f 03476fba7273d9a3d87a9cc93fc1a73ffe49ac2b # 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-1067@tmp/jenkins-gitclient-ssh6090728817674021397.key > git merge 8594ac2f7ffce9ed2fa5e632b0287c300efb8695 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 03476fba7273d9a3d87a9cc93fc1a73ffe49ac2b # timeout=10 Commit message: "docs: Update Change Log for Jakarta" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object a03e002eace0db65b27acd1444eb3c4392a49323 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-11-11T20:54:20.805Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-11-11T20:54:22.789Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-11-11T20:54:23.791Z] ========================================================= [2021-11-11T20:54:23.791Z] EdgeX Global Pipelines Version Info [2021-11-11T20:54:23.791Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-11-11T20:54:25.191Z] ------------------- [2021-11-11T20:54:25.191Z] stable info: [2021-11-11T20:54:25.191Z] ------------------- [2021-11-11T20:54:25.191Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-11-11T20:54:25.191Z] Commit SHA: a03e002eace0db65b27acd1444eb3c4392a49323 [2021-11-11T20:54:25.191Z] Message: update stable to v1.0.213 [2021-11-11T20:54:25.766Z] ------------------- [2021-11-11T20:54:25.766Z] experimental info: [2021-11-11T20:54:25.766Z] ------------------- [2021-11-11T20:54:25.766Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-11-11T20:54:25.766Z] Commit SHA: a03e002eace0db65b27acd1444eb3c4392a49323 [2021-11-11T20:54:25.766Z] Message: update experimental to v1.0.213 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-11-11T20:54:26.047Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-11-11T20:54:26.159Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-11-11T20:54:26.253Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-11-11T20:54:26.554Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-11-11T20:54:26.689Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-11-11T20:54:27.048Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-11-11T20:54:27.418Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2021-11-11T20:54:27.738Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-11-11T20:54:27.826Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-11-11T20:54:27.902Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-11-11T20:54:27.992Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-11-11T20:54:28.099Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-11-11T20:54:28.183Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-11-11T20:54:28.262Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-11-11T20:54:28.345Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-11-11T20:54:28.439Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-11-11T20:54:28.520Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-11-11T20:54:28.606Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-11-11T20:54:29.210Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-11-11T20:54:29.293Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-11-11T20:54:29.409Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-11-11T20:54:29.488Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-11-11T20:54:29.838Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-11-11T20:54:29.925Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-11-11T20:54:30.020Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-11-11T20:54:30.104Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-11-11T20:54:30.397Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1067 [Pipeline] echo [2021-11-11T20:54:30.488Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1067 [Pipeline] echo [2021-11-11T20:54:30.575Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1067 [Pipeline] echo [2021-11-11T20:54:30.942Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 03476fba7273d9a3d87a9cc93fc1a73ffe49ac2b [Pipeline] echo [2021-11-11T20:54:31.049Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 03476fb [Pipeline] echo [2021-11-11T20:54:31.152Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-11T20:54:31.403Z] provisioning config files... [2021-11-11T20:54:31.418Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1067@tmp/config454101203691439363tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-11T20:54:32.075Z] ---> docker-login.sh [2021-11-11T20:54:32.075Z] nexus3.edgexfoundry.org:10001 [2021-11-11T20:54:32.075Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T20:54:32.337Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T20:54:32.337Z] Configure a credential helper to remove this warning. See [2021-11-11T20:54:32.337Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T20:54:32.337Z] [2021-11-11T20:54:32.337Z] Login Succeeded [2021-11-11T20:54:32.337Z] nexus3.edgexfoundry.org:10002 [2021-11-11T20:54:32.337Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T20:54:32.337Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T20:54:32.337Z] Configure a credential helper to remove this warning. See [2021-11-11T20:54:32.337Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T20:54:32.337Z] [2021-11-11T20:54:32.337Z] Login Succeeded [2021-11-11T20:54:32.337Z] nexus3.edgexfoundry.org:10003 [2021-11-11T20:54:32.337Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T20:54:32.337Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T20:54:32.337Z] Configure a credential helper to remove this warning. See [2021-11-11T20:54:32.337Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T20:54:32.337Z] [2021-11-11T20:54:32.337Z] Login Succeeded [2021-11-11T20:54:32.337Z] nexus3.edgexfoundry.org:10004 [2021-11-11T20:54:32.598Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T20:54:32.598Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T20:54:32.598Z] Configure a credential helper to remove this warning. See [2021-11-11T20:54:32.598Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T20:54:32.598Z] [2021-11-11T20:54:32.598Z] Login Succeeded [2021-11-11T20:54:32.598Z] docker.io [2021-11-11T20:54:32.598Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T20:54:33.170Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T20:54:33.170Z] Configure a credential helper to remove this warning. See [2021-11-11T20:54:33.170Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T20:54:33.170Z] [2021-11-11T20:54:33.170Z] Login Succeeded [2021-11-11T20:54:33.170Z] ---> docker-login.sh ends [Pipeline] } [2021-11-11T20:54:33.226Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2021-11-11T20:54:34.911Z] + git rev-list -1 --merges 03476fba7273d9a3d87a9cc93fc1a73ffe49ac2b~1..03476fba7273d9a3d87a9cc93fc1a73ffe49ac2b [Pipeline] echo [2021-11-11T20:54:34.989Z] -----------> git rev-list -1 --merges 03476fba7273d9a3d87a9cc93fc1a73ffe49ac2b~1..03476fba7273d9a3d87a9cc93fc1a73ffe49ac2b 03476fba7273d9a3d87a9cc93fc1a73ffe49ac2b [false] [Pipeline] sh [2021-11-11T20:54:35.346Z] + git log --format=format:%s -1 03476fba7273d9a3d87a9cc93fc1a73ffe49ac2b [Pipeline] echo [2021-11-11T20:54:35.407Z] ========================================================= [2021-11-11T20:54:35.407Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2021-11-11T20:54:35.407Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-11T20:54:36.254Z] + git log --format=format:%s -1 03476fba7273d9a3d87a9cc93fc1a73ffe49ac2b [Pipeline] echo [2021-11-11T20:54:36.310Z] [semverPrep] GIT_COMMIT: 03476fba7273d9a3d87a9cc93fc1a73ffe49ac2b, Commit Message: docs: Update Change Log for Jakarta [Pipeline] echo [2021-11-11T20:54:36.417Z] [semverPrep] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-11-11T20:54:37.350Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-11T20:54:37.350Z] [2021-11-11T20:54:37.350Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-11-11T20:54:37.757Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-11T20:54:37.757Z] latest: Pulling from edgex-devops/git-semver [2021-11-11T20:54:37.757Z] a0d0a0d46f8b: Pulling fs layer [2021-11-11T20:54:37.757Z] 3e5f54012d9b: Pulling fs layer [2021-11-11T20:54:37.757Z] 4c7163046ea9: Pulling fs layer [2021-11-11T20:54:37.757Z] 0c2d73faf560: Pulling fs layer [2021-11-11T20:54:37.757Z] 0c2d73faf560: Waiting [2021-11-11T20:54:37.757Z] 3e5f54012d9b: Verifying Checksum [2021-11-11T20:54:37.757Z] 3e5f54012d9b: Download complete [2021-11-11T20:54:37.757Z] a0d0a0d46f8b: Verifying Checksum [2021-11-11T20:54:37.757Z] a0d0a0d46f8b: Download complete [2021-11-11T20:54:37.757Z] 4c7163046ea9: Verifying Checksum [2021-11-11T20:54:37.757Z] 4c7163046ea9: Download complete [2021-11-11T20:54:37.757Z] 0c2d73faf560: Verifying Checksum [2021-11-11T20:54:37.757Z] 0c2d73faf560: Download complete [2021-11-11T20:54:38.025Z] a0d0a0d46f8b: Pull complete [2021-11-11T20:54:38.025Z] 3e5f54012d9b: Pull complete [2021-11-11T20:54:38.287Z] 4c7163046ea9: Pull complete [2021-11-11T20:54:38.549Z] 0c2d73faf560: Pull complete [2021-11-11T20:54:38.549Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-11-11T20:54:38.549Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-11T20:54:38.549Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-11-11T20:54:38.890Z] prd-centos7-docker-4c-2g-232 does not seem to be running inside a container [2021-11-11T20:54:38.944Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1067 -v /w/workspace/gexfoundry_device-sdk-go_PR-1067:/w/workspace/gexfoundry_device-sdk-go_PR-1067:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1067@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1067@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-11-11T20:54:39.617Z] $ docker top 4cd95765de8a6a8ff505f80a60548edccf1c2b819e86bf6c895752319b068817 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-11T20:54:40.324Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-11T20:54:40.324Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-11T20:54:40.446Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-11T20:54:40.452Z] $ docker exec 4cd95765de8a6a8ff505f80a60548edccf1c2b819e86bf6c895752319b068817 ssh-agent [2021-11-11T20:54:40.557Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXKljEef/agent.15 [2021-11-11T20:54:40.557Z] SSH_AGENT_PID=21 [2021-11-11T20:54:40.565Z] Running ssh-add (command line suppressed) [2021-11-11T20:54:40.672Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1067@tmp/private_key_8635428504811012227.key (/w/workspace/gexfoundry_device-sdk-go_PR-1067@tmp/private_key_8635428504811012227.key) [2021-11-11T20:54:40.686Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-11T20:54:41.079Z] + git tag --points-at HEAD [Pipeline] } [2021-11-11T20:54:41.123Z] $ docker exec --env ******** --env ******** 4cd95765de8a6a8ff505f80a60548edccf1c2b819e86bf6c895752319b068817 ssh-agent -k [2021-11-11T20:54:41.221Z] unset SSH_AUTH_SOCK; [2021-11-11T20:54:41.221Z] unset SSH_AGENT_PID; [2021-11-11T20:54:41.222Z] echo Agent pid 21 killed; [2021-11-11T20:54:41.231Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-11-11T20:54:41.816Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-11T20:54:41.816Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-11T20:54:41.931Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-11T20:54:41.937Z] $ docker exec 4cd95765de8a6a8ff505f80a60548edccf1c2b819e86bf6c895752319b068817 ssh-agent [2021-11-11T20:54:42.042Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXIIDfLg/agent.53 [2021-11-11T20:54:42.042Z] SSH_AGENT_PID=59 [2021-11-11T20:54:42.046Z] Running ssh-add (command line suppressed) [2021-11-11T20:54:42.159Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1067@tmp/private_key_3063180911385862048.key (/w/workspace/gexfoundry_device-sdk-go_PR-1067@tmp/private_key_3063180911385862048.key) [2021-11-11T20:54:42.169Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-11T20:54:42.564Z] + git semver init [2021-11-11T20:54:42.564Z] # -> Open(): unable to determine branch for HEAD [2021-11-11T20:54:42.564Z] # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1067/.git [2021-11-11T20:54:42.564Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1067 [2021-11-11T20:54:42.564Z] # $SEMVER_REMOTE_NAME = origin [2021-11-11T20:54:42.564Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-11T20:54:42.564Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-11T20:54:42.564Z] # $SEMVER_BRANCH = PR-1067 [2021-11-11T20:54:42.564Z] # $SEMVER_TEMP = /tmp/semver-691297070 [2021-11-11T20:54:42.564Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-11-11T20:54:43.511Z] # '/tmp/semver-691297070' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1067/.semver' [2021-11-11T20:54:43.511Z] # -> Force: false [2021-11-11T20:54:43.511Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1067/.semver [Pipeline] } [2021-11-11T20:54:43.670Z] $ docker exec --env ******** --env ******** 4cd95765de8a6a8ff505f80a60548edccf1c2b819e86bf6c895752319b068817 ssh-agent -k [2021-11-11T20:54:43.771Z] unset SSH_AUTH_SOCK; [2021-11-11T20:54:43.771Z] unset SSH_AGENT_PID; [2021-11-11T20:54:43.771Z] echo Agent pid 59 killed; [2021-11-11T20:54:43.775Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-11T20:54:44.538Z] + git semver [Pipeline] } [2021-11-11T20:54:44.589Z] $ docker stop --time=1 4cd95765de8a6a8ff505f80a60548edccf1c2b819e86bf6c895752319b068817 [2021-11-11T20:54:45.840Z] $ docker rm -f 4cd95765de8a6a8ff505f80a60548edccf1c2b819e86bf6c895752319b068817 [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-11T20:54:46.322Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-11-11T20:54:46.714Z] Stashed 1 file(s) [Pipeline] echo [2021-11-11T20:54:46.764Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-11-11T20:55:03.193Z] Still waiting to schedule task [2021-11-11T20:55:03.193Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-11-11T20:55:03.242Z] Still waiting to schedule task [2021-11-11T20:55:03.242Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-11-11T20:56:14.026Z] Running on prd-centos7-docker-4c-2g-236 in /w/workspace/gexfoundry_device-sdk-go_PR-1067 [Pipeline] { [Pipeline] ws [2021-11-11T20:56:14.342Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-11-11T20:56:14.595Z] Selected Git installation does not exist. Using Default [2021-11-11T20:56:14.595Z] The recommended git tool is: NONE [2021-11-11T20:56:16.968Z] using credential edgex-jenkins-ssh [2021-11-11T20:56:16.983Z] Cloning the remote Git repository [2021-11-11T20:56:16.674Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-11-11T20:56:16.740Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-11-11T20:56:16.785Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-11-11T20:56:16.785Z] > git --version # timeout=10 [2021-11-11T20:56:16.793Z] > git --version # 'git version 2.24.4' [2021-11-11T20:56:16.794Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-11T20:56:16.829Z] [INFO] Currently running in a labeled security context [2021-11-11T20:56:16.829Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-11-11T20:56:16.830Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh7060445658268519731.key [2021-11-11T20:56:16.858Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-11T20:56:18.580Z] Merging remotes/origin/main commit 8594ac2f7ffce9ed2fa5e632b0287c300efb8695 into PR head commit 03476fba7273d9a3d87a9cc93fc1a73ffe49ac2b [2021-11-11T20:56:18.723Z] Merge succeeded, producing 03476fba7273d9a3d87a9cc93fc1a73ffe49ac2b [2021-11-11T20:56:18.723Z] Checking out Revision 03476fba7273d9a3d87a9cc93fc1a73ffe49ac2b (PR-1067) [2021-11-11T20:56:17.670Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-11-11T20:56:17.683Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-11T20:56:17.692Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-11-11T20:56:17.708Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-11-11T20:56:17.708Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-11T20:56:17.709Z] [INFO] Currently running in a labeled security context [2021-11-11T20:56:17.709Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-11-11T20:56:17.709Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh5399993667475500405.key [2021-11-11T20:56:17.726Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1067/head:refs/remotes/origin/PR-1067 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-11-11T20:56:18.391Z] > git config core.sparsecheckout # timeout=10 [2021-11-11T20:56:18.406Z] > git checkout -f 03476fba7273d9a3d87a9cc93fc1a73ffe49ac2b # timeout=10 [2021-11-11T20:56:18.445Z] > git remote # timeout=10 [2021-11-11T20:56:18.451Z] > git config --get remote.origin.url # timeout=10 [2021-11-11T20:56:18.460Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-11T20:56:18.462Z] [INFO] Currently running in a labeled security context [2021-11-11T20:56:18.462Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-11-11T20:56:18.462Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh4075058980666275604.key [2021-11-11T20:56:18.480Z] > git merge 8594ac2f7ffce9ed2fa5e632b0287c300efb8695 # timeout=10 [2021-11-11T20:56:18.526Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-11-11T20:56:18.541Z] > git config core.sparsecheckout # timeout=10 [2021-11-11T20:56:18.553Z] > git checkout -f 03476fba7273d9a3d87a9cc93fc1a73ffe49ac2b # timeout=10 [2021-11-11T20:56:22.189Z] Commit message: "docs: Update Change Log for Jakarta" [2021-11-11T20:56:22.209Z] > git --version # timeout=10 [2021-11-11T20:56:22.219Z] > git --version # 'git version 2.24.4' [2021-11-11T20:56:22.231Z] fatal: bad object a03e002eace0db65b27acd1444eb3c4392a49323 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-11T20:56:25.456Z] provisioning config files... [2021-11-11T20:56:25.470Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config8877517868339525634tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-11T20:56:26.220Z] ---> docker-login.sh [2021-11-11T20:56:26.220Z] nexus3.edgexfoundry.org:10001 [2021-11-11T20:56:26.220Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T20:56:26.488Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T20:56:26.488Z] Configure a credential helper to remove this warning. See [2021-11-11T20:56:26.488Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T20:56:26.488Z] [2021-11-11T20:56:26.488Z] Login Succeeded [2021-11-11T20:56:26.488Z] nexus3.edgexfoundry.org:10002 [2021-11-11T20:56:26.488Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T20:56:26.488Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T20:56:26.488Z] Configure a credential helper to remove this warning. See [2021-11-11T20:56:26.488Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T20:56:26.488Z] [2021-11-11T20:56:26.488Z] Login Succeeded [2021-11-11T20:56:26.488Z] nexus3.edgexfoundry.org:10003 [2021-11-11T20:56:26.488Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T20:56:26.753Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T20:56:26.753Z] Configure a credential helper to remove this warning. See [2021-11-11T20:56:26.753Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T20:56:26.753Z] [2021-11-11T20:56:26.753Z] Login Succeeded [2021-11-11T20:56:26.753Z] nexus3.edgexfoundry.org:10004 [2021-11-11T20:56:26.753Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T20:56:26.753Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T20:56:26.753Z] Configure a credential helper to remove this warning. See [2021-11-11T20:56:26.753Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T20:56:26.753Z] [2021-11-11T20:56:26.753Z] Login Succeeded [2021-11-11T20:56:26.753Z] docker.io [2021-11-11T20:56:26.753Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T20:56:27.327Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T20:56:27.327Z] Configure a credential helper to remove this warning. See [2021-11-11T20:56:27.327Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T20:56:27.327Z] [2021-11-11T20:56:27.327Z] Login Succeeded [2021-11-11T20:56:27.327Z] ---> docker-login.sh ends [Pipeline] } [2021-11-11T20:56:27.564Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-11-11T20:56:28.236Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-11T20:56:28.461Z] ========================================================= [2021-11-11T20:56:28.461Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-11-11T20:56:28.461Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-11-11T20:56:29.486Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine --build-arg 'MAKE=echo noop' --target=builder . [2021-11-11T20:56:29.486Z] Sending build context to Docker daemon 2.757MB [2021-11-11T20:56:29.486Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2021-11-11T20:56:29.486Z] Step 2/10 : FROM ${BASE} AS builder [2021-11-11T20:56:29.486Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-11-11T20:56:29.486Z] a0d0a0d46f8b: Pulling fs layer [2021-11-11T20:56:29.486Z] 31adcdaf11c8: Pulling fs layer [2021-11-11T20:56:29.486Z] b8b176561691: Pulling fs layer [2021-11-11T20:56:29.486Z] 4527c011a84f: Pulling fs layer [2021-11-11T20:56:29.486Z] 5d74067f8e1e: Pulling fs layer [2021-11-11T20:56:29.486Z] e0aca202a116: Pulling fs layer [2021-11-11T20:56:29.486Z] 3a43be97a3b4: Pulling fs layer [2021-11-11T20:56:29.486Z] 34cad66bf833: Pulling fs layer [2021-11-11T20:56:29.486Z] b4e3c513aaa6: Pulling fs layer [2021-11-11T20:56:29.486Z] 3a43be97a3b4: Waiting [2021-11-11T20:56:29.486Z] 4527c011a84f: Waiting [2021-11-11T20:56:29.486Z] 5d74067f8e1e: Waiting [2021-11-11T20:56:29.486Z] e0aca202a116: Waiting [2021-11-11T20:56:29.486Z] 34cad66bf833: Waiting [2021-11-11T20:56:29.486Z] b4e3c513aaa6: Waiting [2021-11-11T20:56:29.486Z] b8b176561691: Verifying Checksum [2021-11-11T20:56:29.486Z] b8b176561691: Download complete [2021-11-11T20:56:29.486Z] 31adcdaf11c8: Download complete [2021-11-11T20:56:29.760Z] 5d74067f8e1e: Verifying Checksum [2021-11-11T20:56:29.760Z] 5d74067f8e1e: Download complete [2021-11-11T20:56:29.760Z] e0aca202a116: Verifying Checksum [2021-11-11T20:56:29.760Z] e0aca202a116: Download complete [2021-11-11T20:56:29.760Z] a0d0a0d46f8b: Verifying Checksum [2021-11-11T20:56:29.760Z] a0d0a0d46f8b: Download complete [2021-11-11T20:56:29.760Z] 3a43be97a3b4: Verifying Checksum [2021-11-11T20:56:29.760Z] 3a43be97a3b4: Download complete [2021-11-11T20:56:29.760Z] 34cad66bf833: Verifying Checksum [2021-11-11T20:56:29.760Z] 34cad66bf833: Download complete [2021-11-11T20:56:30.343Z] 4527c011a84f: Verifying Checksum [2021-11-11T20:56:30.343Z] 4527c011a84f: Download complete [2021-11-11T20:56:30.343Z] b4e3c513aaa6: Verifying Checksum [2021-11-11T20:56:30.343Z] b4e3c513aaa6: Download complete [2021-11-11T20:56:30.343Z] a0d0a0d46f8b: Pull complete [2021-11-11T20:56:30.343Z] 31adcdaf11c8: Pull complete [2021-11-11T20:56:30.603Z] b8b176561691: Pull complete [2021-11-11T20:56:34.847Z] 4527c011a84f: Pull complete [2021-11-11T20:56:34.847Z] 5d74067f8e1e: Pull complete [2021-11-11T20:56:34.847Z] e0aca202a116: Pull complete [2021-11-11T20:56:34.847Z] 3a43be97a3b4: Pull complete [2021-11-11T20:56:34.847Z] 34cad66bf833: Pull complete [2021-11-11T20:56:37.424Z] b4e3c513aaa6: Pull complete [2021-11-11T20:56:37.686Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2021-11-11T20:56:37.686Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-11-11T20:56:37.686Z] ---> 9f6097aaca64 [2021-11-11T20:56:37.686Z] Step 3/10 : ARG MAKE=make build [2021-11-11T20:56:39.614Z] ---> Running in 6dce496f07b9 [2021-11-11T20:56:39.878Z] Removing intermediate container 6dce496f07b9 [2021-11-11T20:56:39.878Z] ---> 0bc0bdfc1a1d [2021-11-11T20:56:39.878Z] Step 4/10 : WORKDIR /device-sdk-go [2021-11-11T20:56:39.878Z] ---> Running in 0ad76c92b6c2 [2021-11-11T20:56:39.878Z] Removing intermediate container 0ad76c92b6c2 [2021-11-11T20:56:39.878Z] ---> 9771d9dc2b50 [2021-11-11T20:56:39.878Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-11T20:56:39.878Z] ---> Running in 661502f28367 [2021-11-11T20:56:39.878Z] Removing intermediate container 661502f28367 [2021-11-11T20:56:39.878Z] ---> 4424b1368940 [2021-11-11T20:56:39.878Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-11T20:56:40.147Z] ---> Running in 2a8abfc9987c [2021-11-11T20:56:40.719Z] Removing intermediate container 2a8abfc9987c [2021-11-11T20:56:40.719Z] ---> 9a5e806d9ec7 [2021-11-11T20:56:40.719Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-11-11T20:56:40.719Z] ---> Running in 150323d61c36 [2021-11-11T20:56:40.986Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-11T20:56:41.930Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-11T20:56:42.191Z] OK: 220 MiB in 52 packages [2021-11-11T20:56:42.457Z] Removing intermediate container 150323d61c36 [2021-11-11T20:56:42.457Z] ---> d5fcfb396c61 [2021-11-11T20:56:42.457Z] Step 8/10 : COPY . . [2021-11-11T20:56:42.720Z] ---> e0d71ba67df5 [2021-11-11T20:56:42.720Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-11T20:56:42.720Z] ---> Running in 1e257717cc71 [2021-11-11T20:57:11.111Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-237 in /w/workspace/gexfoundry_device-sdk-go_PR-1067 [Pipeline] { [Pipeline] ws [2021-11-11T20:57:11.431Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-11-11T20:57:11.787Z] Selected Git installation does not exist. Using Default [2021-11-11T20:57:11.787Z] The recommended git tool is: NONE [2021-11-11T20:57:17.241Z] using credential edgex-jenkins-ssh [2021-11-11T20:57:17.485Z] Cloning the remote Git repository [2021-11-11T20:57:17.576Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-11-11T20:57:17.679Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-11-11T20:57:17.773Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-11-11T20:57:17.774Z] > git --version # timeout=10 [2021-11-11T20:57:17.799Z] > git --version # 'git version 2.17.1' [2021-11-11T20:57:17.802Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-11T20:57:17.889Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-11T20:57:19.148Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-11-11T20:57:19.164Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-11T20:57:19.185Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-11-11T20:57:19.224Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-11-11T20:57:19.225Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-11T20:57:19.239Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1067/head:refs/remotes/origin/PR-1067 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-11-11T20:57:19.950Z] Merging remotes/origin/main commit 8594ac2f7ffce9ed2fa5e632b0287c300efb8695 into PR head commit 03476fba7273d9a3d87a9cc93fc1a73ffe49ac2b [2021-11-11T20:57:20.173Z] Merge succeeded, producing 03476fba7273d9a3d87a9cc93fc1a73ffe49ac2b [2021-11-11T20:57:20.174Z] Checking out Revision 03476fba7273d9a3d87a9cc93fc1a73ffe49ac2b (PR-1067) [2021-11-11T20:57:19.974Z] > git config core.sparsecheckout # timeout=10 [2021-11-11T20:57:19.987Z] > git checkout -f 03476fba7273d9a3d87a9cc93fc1a73ffe49ac2b # timeout=10 [2021-11-11T20:57:20.093Z] > git remote # timeout=10 [2021-11-11T20:57:20.110Z] > git config --get remote.origin.url # timeout=10 [2021-11-11T20:57:20.122Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-11T20:57:20.134Z] > git merge 8594ac2f7ffce9ed2fa5e632b0287c300efb8695 # timeout=10 [2021-11-11T20:57:20.156Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-11-11T20:57:20.183Z] > git config core.sparsecheckout # timeout=10 [2021-11-11T20:57:20.197Z] > git checkout -f 03476fba7273d9a3d87a9cc93fc1a73ffe49ac2b # timeout=10 [2021-11-11T20:57:21.540Z] Removing intermediate container 1e257717cc71 [2021-11-11T20:57:21.540Z] ---> a755ebe6057a [2021-11-11T20:57:21.540Z] Step 10/10 : RUN ${MAKE} [2021-11-11T20:57:21.540Z] ---> Running in fd2b48f6e1a3 [2021-11-11T20:57:21.540Z] noop [2021-11-11T20:57:21.540Z] Removing intermediate container fd2b48f6e1a3 [2021-11-11T20:57:21.540Z] ---> 608b2035d23f [2021-11-11T20:57:21.540Z] Successfully built 608b2035d23f [2021-11-11T20:57:21.540Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-11-11T20:57:22.209Z] + docker inspect -f . ci-base-image-x86_64 [2021-11-11T20:57:22.209Z] . [Pipeline] withDockerContainer [2021-11-11T20:57:22.596Z] prd-centos7-docker-4c-2g-236 does not seem to be running inside a container [2021-11-11T20:57:22.630Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-11-11T20:57:22.998Z] $ docker top eb5abd316081b0b2109eaf34543d8bf7778cb259a2230ebe2ac4ac2dc9ac013f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-11T20:57:23.495Z] + go version [2021-11-11T20:57:23.495Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-11-11T20:57:23.571Z] $ docker stop --time=1 eb5abd316081b0b2109eaf34543d8bf7778cb259a2230ebe2ac4ac2dc9ac013f [2021-11-11T20:57:24.412Z] Commit message: "docs: Update Change Log for Jakarta" [2021-11-11T20:57:24.474Z] > git --version # timeout=10 [2021-11-11T20:57:24.484Z] > git --version # 'git version 2.17.1' [2021-11-11T20:57:24.502Z] fatal: bad object a03e002eace0db65b27acd1444eb3c4392a49323 [2021-11-11T20:57:24.826Z] $ docker rm -f eb5abd316081b0b2109eaf34543d8bf7778cb259a2230ebe2ac4ac2dc9ac013f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Test) [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [Pipeline] script [2021-11-11T20:57:26.840Z] + docker inspect -f . ci-base-image-x86_64 [2021-11-11T20:57:26.840Z] . [Pipeline] { [Pipeline] sh [Pipeline] withDockerContainer [2021-11-11T20:57:27.774Z] prd-centos7-docker-4c-2g-236 does not seem to be running inside a container [2021-11-11T20:57:27.825Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-11-11T20:57:27.900Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2021-11-11T20:57:27.900Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-11-11T20:57:27.900Z] Dload Upload Total Spent Left Speed [2021-11-11T20:57:27.900Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 183k 0 --:--:-- --:--:-- --:--:-- 183k [2021-11-11T20:57:28.159Z] $ docker top 9081041b564c4699c7da993454089e402fdbb68dcecb7cbd6b9f61b516865df2 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [Pipeline] sh [2021-11-11T20:57:29.446Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2021-11-11T20:57:29.562Z] + make test [2021-11-11T20:57:29.562Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-11-11T20:57:29.886Z] + + sudo tee /etc/docker/daemon.new [2021-11-11T20:57:29.886Z] sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2021-11-11T20:57:29.886Z] { [2021-11-11T20:57:29.886Z] "registry-mirrors": [ [2021-11-11T20:57:29.886Z] "https://nexus3.edgexfoundry.org:10001" [2021-11-11T20:57:29.886Z] ], [2021-11-11T20:57:29.886Z] "bip": "10.250.0.254/24", [2021-11-11T20:57:29.886Z] "hosts": [ [2021-11-11T20:57:29.886Z] "tcp://0.0.0.0:5555", [2021-11-11T20:57:29.886Z] "unix:///var/run/docker.sock" [2021-11-11T20:57:29.886Z] ], [2021-11-11T20:57:29.886Z] "mtu": 1458, [2021-11-11T20:57:29.886Z] "selinux-enabled": true, [2021-11-11T20:57:29.886Z] "seccomp-profile": "/etc/docker/seccomp.json" [2021-11-11T20:57:29.886Z] } [Pipeline] sh [2021-11-11T20:57:30.457Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2021-11-11T20:57:31.039Z] + sudo service docker restart [2021-11-11T20:57:34.936Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-11T20:57:50.418Z] provisioning config files... [2021-11-11T20:57:50.449Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config8237537751054753994tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-11T20:57:53.085Z] ---> docker-login.sh [2021-11-11T20:57:53.085Z] nexus3.edgexfoundry.org:10001 [2021-11-11T20:57:53.680Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T20:57:54.276Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T20:57:54.276Z] Configure a credential helper to remove this warning. See [2021-11-11T20:57:54.276Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T20:57:54.276Z] [2021-11-11T20:57:54.276Z] Login Succeeded [2021-11-11T20:57:54.276Z] nexus3.edgexfoundry.org:10002 [2021-11-11T20:57:54.549Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T20:57:54.549Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T20:57:54.549Z] Configure a credential helper to remove this warning. See [2021-11-11T20:57:54.549Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T20:57:54.549Z] [2021-11-11T20:57:54.549Z] Login Succeeded [2021-11-11T20:57:54.549Z] nexus3.edgexfoundry.org:10003 [2021-11-11T20:57:55.146Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T20:57:55.146Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T20:57:55.146Z] Configure a credential helper to remove this warning. See [2021-11-11T20:57:55.146Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T20:57:55.146Z] [2021-11-11T20:57:55.146Z] Login Succeeded [2021-11-11T20:57:55.146Z] nexus3.edgexfoundry.org:10004 [2021-11-11T20:57:55.746Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T20:57:55.746Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T20:57:55.746Z] Configure a credential helper to remove this warning. See [2021-11-11T20:57:55.746Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T20:57:55.746Z] [2021-11-11T20:57:55.746Z] Login Succeeded [2021-11-11T20:57:55.746Z] docker.io [2021-11-11T20:57:56.338Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-11T20:57:56.610Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-11T20:57:56.610Z] Configure a credential helper to remove this warning. See [2021-11-11T20:57:56.610Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-11T20:57:56.610Z] [2021-11-11T20:57:56.610Z] Login Succeeded [2021-11-11T20:57:56.610Z] ---> docker-login.sh ends [Pipeline] } [2021-11-11T20:57:57.130Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-11-11T20:57:59.305Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-11T20:57:59.761Z] ========================================================= [2021-11-11T20:57:59.761Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-11-11T20:57:59.761Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-11-11T20:58:01.583Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-11-11T20:58:01.583Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-11-11T20:58:01.583Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-11-11T20:58:01.583Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.050s coverage: 23.3% of statements [2021-11-11T20:58:01.583Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-11-11T20:58:01.583Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.048s coverage: 27.6% of statements [2021-11-11T20:58:01.583Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.058s coverage: 78.9% of statements [2021-11-11T20:58:01.583Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.058s coverage: 9.0% of statements [2021-11-11T20:58:01.583Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-11-11T20:58:01.583Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-11-11T20:58:01.583Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-11-11T20:58:01.733Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine --build-arg MAKE=echo noop --target=builder . [2021-11-11T20:58:01.859Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.061s coverage: 28.7% of statements [2021-11-11T20:58:01.859Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-11-11T20:58:02.333Z] Sending build context to Docker daemon 2.755MB [2021-11-11T20:58:02.333Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2021-11-11T20:58:02.333Z] Step 2/10 : FROM ${BASE} AS builder [2021-11-11T20:58:02.333Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-11-11T20:58:02.333Z] 552d1f2373af: Pulling fs layer [2021-11-11T20:58:02.333Z] ea3f2d53f512: Pulling fs layer [2021-11-11T20:58:02.333Z] 9e70ebbbe112: Pulling fs layer [2021-11-11T20:58:02.333Z] 7a9cfe048b4a: Pulling fs layer [2021-11-11T20:58:02.333Z] 72dc09318566: Pulling fs layer [2021-11-11T20:58:02.333Z] f4f7b4309257: Pulling fs layer [2021-11-11T20:58:02.333Z] 0ac9a79272e3: Pulling fs layer [2021-11-11T20:58:02.333Z] b78e95d17946: Pulling fs layer [2021-11-11T20:58:02.333Z] 7a9cfe048b4a: Waiting [2021-11-11T20:58:02.333Z] 72dc09318566: Waiting [2021-11-11T20:58:02.333Z] f4f7b4309257: Waiting [2021-11-11T20:58:02.333Z] b78e95d17946: Waiting [2021-11-11T20:58:02.333Z] 0ac9a79272e3: Waiting [2021-11-11T20:58:02.607Z] 9e70ebbbe112: Verifying Checksum [2021-11-11T20:58:02.608Z] 9e70ebbbe112: Download complete [2021-11-11T20:58:02.608Z] ea3f2d53f512: Verifying Checksum [2021-11-11T20:58:02.608Z] ea3f2d53f512: Download complete [2021-11-11T20:58:02.608Z] 72dc09318566: Download complete [2021-11-11T20:58:02.608Z] f4f7b4309257: Verifying Checksum [2021-11-11T20:58:02.608Z] f4f7b4309257: Download complete [2021-11-11T20:58:02.608Z] 552d1f2373af: Verifying Checksum [2021-11-11T20:58:02.608Z] 552d1f2373af: Download complete [2021-11-11T20:58:02.608Z] 0ac9a79272e3: Verifying Checksum [2021-11-11T20:58:02.608Z] 0ac9a79272e3: Download complete [2021-11-11T20:58:02.808Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.065s coverage: 83.3% of statements [2021-11-11T20:58:02.808Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-11-11T20:58:02.808Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-11-11T20:58:02.808Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.075s coverage: 57.8% of statements [2021-11-11T20:58:03.208Z] 552d1f2373af: Pull complete [2021-11-11T20:58:04.192Z] ea3f2d53f512: Pull complete [2021-11-11T20:58:04.204Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.809s coverage: 89.2% of statements [2021-11-11T20:58:04.204Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-11-11T20:58:04.204Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.050s coverage: 4.8% of statements [2021-11-11T20:58:04.204Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-11-11T20:58:04.204Z] GO111MODULE=on go vet ./... [2021-11-11T20:58:04.472Z] b78e95d17946: Download complete [2021-11-11T20:58:04.472Z] 9e70ebbbe112: Pull complete [2021-11-11T20:58:05.070Z] 7a9cfe048b4a: Verifying Checksum [2021-11-11T20:58:05.070Z] 7a9cfe048b4a: Download complete [2021-11-11T20:58:15.219Z] 7a9cfe048b4a: Pull complete [2021-11-11T20:58:15.219Z] 72dc09318566: Pull complete [2021-11-11T20:58:15.219Z] f4f7b4309257: Pull complete [2021-11-11T20:58:15.219Z] 0ac9a79272e3: Pull complete [2021-11-11T20:58:20.630Z] b78e95d17946: Pull complete [2021-11-11T20:58:20.630Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2021-11-11T20:58:20.630Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-11-11T20:58:20.630Z] ---> 8b459fc5aaf0 [2021-11-11T20:58:20.630Z] Step 3/10 : ARG MAKE=make build [2021-11-11T20:58:22.056Z] ---> Running in f54f35ffdf16 [2021-11-11T20:58:22.376Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-11-11T20:58:22.376Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-11-11T20:58:22.376Z] ./bin/test-attribution-txt.sh [2021-11-11T20:58:22.650Z] Removing intermediate container f54f35ffdf16 [2021-11-11T20:58:22.650Z] ---> a0c7493bce32 [2021-11-11T20:58:22.650Z] Step 4/10 : WORKDIR /device-sdk-go [2021-11-11T20:58:22.650Z] ---> Running in 77bff9d20028 [Pipeline] } [2021-11-11T20:58:23.246Z] Removing intermediate container 77bff9d20028 [2021-11-11T20:58:23.246Z] ---> 8db9c973a326 [2021-11-11T20:58:23.246Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-11T20:58:23.246Z] ---> Running in ec761090ca72 [2021-11-11T20:58:23.253Z] $ docker stop --time=1 9081041b564c4699c7da993454089e402fdbb68dcecb7cbd6b9f61b516865df2 [2021-11-11T20:58:23.844Z] Removing intermediate container ec761090ca72 [2021-11-11T20:58:23.844Z] ---> 88cf6a069563 [2021-11-11T20:58:23.844Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-11T20:58:23.844Z] ---> Running in 2a836f68eaee [2021-11-11T20:58:24.708Z] $ docker rm -f 9081041b564c4699c7da993454089e402fdbb68dcecb7cbd6b9f61b516865df2 [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-11T20:58:26.033Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-11-11T20:58:26.519Z] Removing intermediate container 2a836f68eaee [2021-11-11T20:58:26.519Z] ---> c97534120651 [2021-11-11T20:58:26.519Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-11-11T20:58:26.519Z] ---> Running in 12840ed1a555 [2021-11-11T20:58:26.724Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [2021-11-11T20:58:27.494Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [Pipeline] // stage [Pipeline] stage [2021-11-11T20:58:28.472Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [Pipeline] { (Build) [Pipeline] sh [2021-11-11T20:58:29.425Z] + sudo chown -R jenkins:jenkins . [2021-11-11T20:58:29.453Z] OK: 219 MiB in 52 packages [Pipeline] sh [2021-11-11T20:58:30.126Z] + ls -al . [2021-11-11T20:58:30.126Z] total 264 [2021-11-11T20:58:30.126Z] drwxrwxr-x. 10 jenkins jenkins 4096 Nov 11 20:58 . [2021-11-11T20:58:30.126Z] drwxrwxr-x. 4 jenkins jenkins 28 Nov 11 20:56 .. [2021-11-11T20:58:30.126Z] drwxrwxr-x. 2 jenkins jenkins 37 Nov 11 20:56 bin [2021-11-11T20:58:30.126Z] -rw-rw-r--. 1 jenkins jenkins 26321 Nov 11 20:56 CHANGELOG.md [2021-11-11T20:58:30.126Z] -rw-r--r--. 1 jenkins jenkins 128369 Nov 11 20:58 coverage.out [2021-11-11T20:58:30.126Z] -rw-rw-r--. 1 jenkins jenkins 140 Nov 11 20:56 .dockerignore [2021-11-11T20:58:30.127Z] drwxrwxr-x. 5 jenkins jenkins 62 Nov 11 20:56 example [2021-11-11T20:58:30.127Z] drwxrwxr-x. 8 jenkins jenkins 179 Nov 11 20:56 .git [2021-11-11T20:58:30.127Z] drwxrwxr-x. 3 jenkins jenkins 125 Nov 11 20:56 .github [2021-11-11T20:58:30.127Z] -rw-rw-r--. 1 jenkins jenkins 131 Nov 11 20:56 .gitignore [2021-11-11T20:58:30.127Z] -rw-rw-r--. 1 jenkins jenkins 576 Nov 11 20:56 go.mod [2021-11-11T20:58:30.127Z] -rw-rw-r--. 1 jenkins jenkins 48946 Nov 11 20:56 go.sum [2021-11-11T20:58:30.127Z] -rw-rw-r--. 1 jenkins jenkins 677 Nov 11 20:56 GOVERNANCE.md [2021-11-11T20:58:30.127Z] drwxrwxr-x. 15 jenkins jenkins 224 Nov 11 20:56 internal [2021-11-11T20:58:30.127Z] -rw-rw-r--. 1 jenkins jenkins 880 Nov 11 20:56 Jenkinsfile [2021-11-11T20:58:30.127Z] -rw-rw-r--. 1 jenkins jenkins 11341 Nov 11 20:56 LICENSE [2021-11-11T20:58:30.127Z] -rw-rw-r--. 1 jenkins jenkins 1120 Nov 11 20:56 Makefile [2021-11-11T20:58:30.127Z] drwxrwxr-x. 3 jenkins jenkins 16 Nov 11 20:56 openapi [2021-11-11T20:58:30.127Z] -rw-rw-r--. 1 jenkins jenkins 619 Nov 11 20:56 OWNERS.md [2021-11-11T20:58:30.127Z] drwxrwxr-x. 5 jenkins jenkins 50 Nov 11 20:56 pkg [2021-11-11T20:58:30.127Z] -rw-rw-r--. 1 jenkins jenkins 4877 Nov 11 20:56 README.md [2021-11-11T20:58:30.127Z] drwxrwxr-x. 4 jenkins jenkins 54 Nov 11 20:56 snap [2021-11-11T20:58:30.127Z] -rw-rw-r--. 1 jenkins jenkins 5 Nov 11 20:54 VERSION [2021-11-11T20:58:30.127Z] -rw-rw-r--. 1 jenkins jenkins 222 Nov 11 20:56 version.go [2021-11-11T20:58:30.441Z] Removing intermediate container 12840ed1a555 [2021-11-11T20:58:30.441Z] ---> e7161c8400bf [2021-11-11T20:58:30.441Z] Step 8/10 : COPY . . [Pipeline] isUnix [Pipeline] sh [2021-11-11T20:58:31.423Z] ---> c5c4c4990be4 [2021-11-11T20:58:31.423Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-11T20:58:31.423Z] ---> Running in c601d49a8a40 [2021-11-11T20:58:31.463Z] + 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=03476fba7273d9a3d87a9cc93fc1a73ffe49ac2b --label arch=amd64 --label version=0.0.0 . [2021-11-11T20:58:31.463Z] Sending build context to Docker daemon 2.886MB [2021-11-11T20:58:31.463Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-11-11T20:58:31.463Z] Step 2/24 : FROM ${BASE} AS builder [2021-11-11T20:58:31.463Z] ---> 608b2035d23f [2021-11-11T20:58:31.463Z] Step 3/24 : ARG MAKE=make build [2021-11-11T20:58:31.463Z] ---> Running in 74e74b089efb [2021-11-11T20:58:31.724Z] Removing intermediate container 74e74b089efb [2021-11-11T20:58:31.724Z] ---> 30f1a4428cd5 [2021-11-11T20:58:31.724Z] Step 4/24 : WORKDIR /device-sdk-go [2021-11-11T20:58:31.724Z] ---> Running in 77bfba0be7e2 [2021-11-11T20:58:31.724Z] Removing intermediate container 77bfba0be7e2 [2021-11-11T20:58:31.724Z] ---> 468ffef79828 [2021-11-11T20:58:31.724Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-11T20:58:31.724Z] ---> Running in c8dbeb07d16a [2021-11-11T20:58:31.724Z] Removing intermediate container c8dbeb07d16a [2021-11-11T20:58:31.724Z] ---> 0bb44a65a1c9 [2021-11-11T20:58:31.724Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-11T20:58:31.984Z] ---> Running in 293b554bd366 [2021-11-11T20:58:32.244Z] Removing intermediate container 293b554bd366 [2021-11-11T20:58:32.244Z] ---> 56e6bff36493 [2021-11-11T20:58:32.244Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-11-11T20:58:32.244Z] ---> Running in 99f824aac25a [2021-11-11T20:58:32.503Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-11T20:58:33.445Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-11T20:58:33.708Z] OK: 220 MiB in 52 packages [2021-11-11T20:58:33.971Z] Removing intermediate container 99f824aac25a [2021-11-11T20:58:33.971Z] ---> ab970710f7b0 [2021-11-11T20:58:33.971Z] Step 8/24 : COPY . . [2021-11-11T20:58:34.233Z] ---> ba5ed94fa43d [2021-11-11T20:58:34.233Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-11T20:58:34.233Z] ---> Running in f5ca8bc761a4 [2021-11-11T20:58:34.806Z] Removing intermediate container f5ca8bc761a4 [2021-11-11T20:58:34.806Z] ---> ca3b5d8e02e2 [2021-11-11T20:58:34.806Z] Step 10/24 : RUN ${MAKE} [2021-11-11T20:58:34.806Z] ---> Running in 74296870b7bd [2021-11-11T20:58:35.071Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-11-11T20:58:45.173Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-11-11T20:58:46.567Z] Removing intermediate container 74296870b7bd [2021-11-11T20:58:46.567Z] ---> a40691ccebc7 [2021-11-11T20:58:46.567Z] Step 11/24 : FROM alpine:3.14 [2021-11-11T20:58:50.766Z] 3.14: Pulling from library/alpine [2021-11-11T20:58:50.766Z] a0d0a0d46f8b: Already exists [2021-11-11T20:58:50.766Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-11-11T20:58:50.766Z] Status: Downloaded newer image for alpine:3.14 [2021-11-11T20:58:50.766Z] ---> 14119a10abf4 [2021-11-11T20:58:50.766Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-11T20:58:50.766Z] ---> Running in 2bbe9c398099 [2021-11-11T20:58:50.766Z] Removing intermediate container 2bbe9c398099 [2021-11-11T20:58:50.766Z] ---> 11eec8fae263 [2021-11-11T20:58:50.766Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-11T20:58:50.766Z] ---> Running in e28124034a0b [2021-11-11T20:58:51.026Z] Removing intermediate container e28124034a0b [2021-11-11T20:58:51.026Z] ---> 90a1ac9e63ba [2021-11-11T20:58:51.026Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2021-11-11T20:58:51.026Z] ---> Running in 30967103e6a1 [2021-11-11T20:58:51.287Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-11T20:58:52.227Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-11T20:58:52.489Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2021-11-11T20:58:52.489Z] (2/5) Installing libsodium (1.0.18-r0) [2021-11-11T20:58:52.489Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2021-11-11T20:58:52.753Z] (4/5) Installing libzmq (4.3.4-r0) [2021-11-11T20:58:52.753Z] (5/5) Installing zeromq (4.3.4-r0) [2021-11-11T20:58:52.753Z] Executing busybox-1.33.1-r3.trigger [2021-11-11T20:58:52.753Z] OK: 8 MiB in 19 packages [2021-11-11T20:58:53.019Z] Removing intermediate container 30967103e6a1 [2021-11-11T20:58:53.019Z] ---> 0d0e3c877606 [2021-11-11T20:58:53.019Z] Step 15/24 : WORKDIR / [2021-11-11T20:58:53.282Z] ---> Running in 6a7d729dea33 [2021-11-11T20:58:53.282Z] Removing intermediate container 6a7d729dea33 [2021-11-11T20:58:53.282Z] ---> 63cb159eb78c [2021-11-11T20:58:53.282Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-11-11T20:58:53.543Z] ---> 95d2b71a051c [2021-11-11T20:58:53.543Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-11-11T20:58:53.804Z] ---> 576caee27312 [2021-11-11T20:58:53.804Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-11-11T20:58:54.066Z] ---> 3c013cc7aeaa [2021-11-11T20:58:54.066Z] Step 19/24 : EXPOSE 59999 [2021-11-11T20:58:54.066Z] ---> Running in 1b2633e6dfff [2021-11-11T20:58:54.066Z] Removing intermediate container 1b2633e6dfff [2021-11-11T20:58:54.066Z] ---> 2bc4ad7cd4be [2021-11-11T20:58:54.066Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2021-11-11T20:58:54.325Z] ---> Running in 1c1a23107c13 [2021-11-11T20:58:54.325Z] Removing intermediate container 1c1a23107c13 [2021-11-11T20:58:54.325Z] ---> 92280bdb159b [2021-11-11T20:58:54.325Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-11-11T20:58:54.326Z] ---> Running in c02199663d21 [2021-11-11T20:58:54.326Z] Removing intermediate container c02199663d21 [2021-11-11T20:58:54.326Z] ---> 6cb1235c863c [2021-11-11T20:58:54.326Z] Step 22/24 : LABEL arch=amd64 [2021-11-11T20:58:54.326Z] ---> Running in b3d3137e97b3 [2021-11-11T20:58:54.588Z] Removing intermediate container b3d3137e97b3 [2021-11-11T20:58:54.588Z] ---> 48b9c14ea051 [2021-11-11T20:58:54.588Z] Step 23/24 : LABEL git_sha=03476fba7273d9a3d87a9cc93fc1a73ffe49ac2b [2021-11-11T20:58:54.588Z] ---> Running in e5a7579c4e07 [2021-11-11T20:58:54.588Z] Removing intermediate container e5a7579c4e07 [2021-11-11T20:58:54.588Z] ---> 5e37df57b833 [2021-11-11T20:58:54.588Z] Step 24/24 : LABEL version=0.0.0 [2021-11-11T20:58:54.588Z] ---> Running in 0381ee60c10a [2021-11-11T20:58:54.848Z] Removing intermediate container 0381ee60c10a [2021-11-11T20:58:54.848Z] ---> 410f65543567 [2021-11-11T20:58:54.848Z] [Warning] One or more build-args [ARCH] were not consumed [2021-11-11T20:58:54.848Z] Successfully built 410f65543567 [2021-11-11T20:58:54.848Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-11T20:58:59.672Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-11T20:58:59.672Z] [2021-11-11T20:58:59.672Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-11-11T20:59:00.713Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-11T20:59:00.713Z] latest: Pulling from edgex-lftools-log-publisher [2021-11-11T20:59:00.713Z] b4d181a07f80: Pulling fs layer [2021-11-11T20:59:00.713Z] a1111a8f2ec3: Pulling fs layer [2021-11-11T20:59:00.713Z] ed53099fbce6: Pulling fs layer [2021-11-11T20:59:00.713Z] dc539afda2c1: Pulling fs layer [2021-11-11T20:59:00.713Z] 77bc0d833cb6: Pulling fs layer [2021-11-11T20:59:00.713Z] 9065ff56babe: Pulling fs layer [2021-11-11T20:59:00.713Z] d287ab97295c: Pulling fs layer [2021-11-11T20:59:00.713Z] 77bc0d833cb6: Waiting [2021-11-11T20:59:00.713Z] 9065ff56babe: Waiting [2021-11-11T20:59:00.713Z] d287ab97295c: Waiting [2021-11-11T20:59:00.713Z] dc539afda2c1: Waiting [2021-11-11T20:59:00.713Z] a1111a8f2ec3: Verifying Checksum [2021-11-11T20:59:00.713Z] a1111a8f2ec3: Download complete [2021-11-11T20:59:00.713Z] dc539afda2c1: Verifying Checksum [2021-11-11T20:59:00.713Z] dc539afda2c1: Download complete [2021-11-11T20:59:00.713Z] ed53099fbce6: Verifying Checksum [2021-11-11T20:59:00.713Z] ed53099fbce6: Download complete [2021-11-11T20:59:00.713Z] 77bc0d833cb6: Verifying Checksum [2021-11-11T20:59:00.713Z] 77bc0d833cb6: Download complete [2021-11-11T20:59:00.990Z] 9065ff56babe: Verifying Checksum [2021-11-11T20:59:00.990Z] 9065ff56babe: Download complete [2021-11-11T20:59:00.990Z] b4d181a07f80: Verifying Checksum [2021-11-11T20:59:00.990Z] b4d181a07f80: Download complete [2021-11-11T20:59:01.578Z] d287ab97295c: Verifying Checksum [2021-11-11T20:59:01.578Z] d287ab97295c: Download complete [2021-11-11T20:59:02.533Z] b4d181a07f80: Pull complete [2021-11-11T20:59:02.533Z] a1111a8f2ec3: Pull complete [2021-11-11T20:59:03.113Z] ed53099fbce6: Pull complete [2021-11-11T20:59:03.113Z] dc539afda2c1: Pull complete [2021-11-11T20:59:03.372Z] 77bc0d833cb6: Pull complete [2021-11-11T20:59:03.635Z] 9065ff56babe: Pull complete [2021-11-11T20:59:08.953Z] d287ab97295c: Pull complete [2021-11-11T20:59:08.953Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-11-11T20:59:08.953Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-11T20:59:08.953Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-11-11T20:59:09.902Z] prd-centos7-docker-4c-2g-236 does not seem to be running inside a container [2021-11-11T20:59:09.940Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-11-11T20:59:13.047Z] $ docker top cc7728ddf30a3d75451cd87b1e280b459d9561d569ab186fd63712a73102f226 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-11T20:59:15.071Z] ---> job-cost.sh [2021-11-11T20:59:15.071Z] lf-activate-venv: SKIPPING [2021-11-11T20:59:15.071Z] INFO: No Stack... [2021-11-11T20:59:15.331Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-11-11T20:59:15.903Z] INFO: Archiving Costs [Pipeline] sh [2021-11-11T20:59:16.718Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2021-11-11T20:59:16.718Z] + cut -d, -f6 [Pipeline] lock [2021-11-11T20:59:17.285Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1067-1-stack-cost] [2021-11-11T20:59:17.297Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1067-1-stack-cost] did not exist. Created. [2021-11-11T20:59:17.297Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1067-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-11-11T20:59:18.997Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-11-11T20:59:19.446Z] Stashed 1 file(s) [Pipeline] } [2021-11-11T20:59:19.647Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1067-1-stack-cost] [Pipeline] // lock [Pipeline] } [2021-11-11T20:59:20.470Z] $ docker stop --time=1 cc7728ddf30a3d75451cd87b1e280b459d9561d569ab186fd63712a73102f226 [2021-11-11T20:59:21.615Z] $ docker rm -f cc7728ddf30a3d75451cd87b1e280b459d9561d569ab186fd63712a73102f226 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-11-11T20:59:53.213Z] Removing intermediate container c601d49a8a40 [2021-11-11T20:59:53.213Z] ---> dc305c5f38c6 [2021-11-11T20:59:53.213Z] Step 10/10 : RUN ${MAKE} [2021-11-11T20:59:53.213Z] ---> Running in 1dea88a390a9 [2021-11-11T20:59:53.213Z] noop [2021-11-11T20:59:53.213Z] Removing intermediate container 1dea88a390a9 [2021-11-11T20:59:53.213Z] ---> 3c8fde4c1efb [2021-11-11T20:59:53.213Z] Successfully built 3c8fde4c1efb [2021-11-11T20:59:53.213Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-11-11T20:59:54.942Z] + docker inspect -f . ci-base-image-arm64 [2021-11-11T20:59:54.942Z] . [Pipeline] withDockerContainer [2021-11-11T20:59:55.996Z] prd-ubuntu18.04-docker-arm64-4c-16g-237 does not seem to be running inside a container [2021-11-11T20:59:56.088Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-11-11T20:59:57.741Z] $ docker top ed86bafefcc403812b5777bb93a4314a24cb3c3a8de004c638355757d9ccdcc1 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-11T20:59:59.662Z] + go version [2021-11-11T20:59:59.662Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-11-11T21:00:00.054Z] $ docker stop --time=1 ed86bafefcc403812b5777bb93a4314a24cb3c3a8de004c638355757d9ccdcc1 [2021-11-11T21:00:01.850Z] $ docker rm -f ed86bafefcc403812b5777bb93a4314a24cb3c3a8de004c638355757d9ccdcc1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-11T21:00:09.852Z] + docker inspect -f . ci-base-image-arm64 [2021-11-11T21:00:09.852Z] . [Pipeline] withDockerContainer [2021-11-11T21:00:10.742Z] prd-ubuntu18.04-docker-arm64-4c-16g-237 does not seem to be running inside a container [2021-11-11T21:00:10.835Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-11-11T21:00:12.376Z] $ docker top e6b9061308983827e598e651dd7cb19388df3bf41c90e614f4b0f634e6b17783 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-11-11T21:00:15.385Z] + make test [2021-11-11T21:00:15.385Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-11-11T21:00:47.787Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-11-11T21:02:09.676Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-11-11T21:02:09.676Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-11-11T21:02:09.676Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-11-11T21:02:12.337Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.415s coverage: 23.3% of statements [2021-11-11T21:02:12.337Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-11-11T21:02:12.337Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.244s coverage: 27.6% of statements [2021-11-11T21:02:12.337Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.328s coverage: 78.9% of statements [2021-11-11T21:02:12.337Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.267s coverage: 9.0% of statements [2021-11-11T21:02:12.337Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-11-11T21:02:12.337Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-11-11T21:02:12.337Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-11-11T21:02:13.335Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.335s coverage: 28.7% of statements [2021-11-11T21:02:13.335Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-11-11T21:02:13.940Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.285s coverage: 83.3% of statements [2021-11-11T21:02:13.940Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-11-11T21:02:13.940Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-11-11T21:02:14.218Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.410s coverage: 57.8% of statements [2021-11-11T21:02:20.949Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.432s coverage: 89.2% of statements [2021-11-11T21:02:20.949Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-11-11T21:02:20.949Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.245s coverage: 4.8% of statements [2021-11-11T21:02:20.949Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-11-11T21:02:20.949Z] GO111MODULE=on go vet ./... [2021-11-11T21:03:29.068Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-11-11T21:03:29.068Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-11-11T21:03:29.068Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-11-11T21:03:30.020Z] $ docker stop --time=1 e6b9061308983827e598e651dd7cb19388df3bf41c90e614f4b0f634e6b17783 [2021-11-11T21:03:31.946Z] $ docker rm -f e6b9061308983827e598e651dd7cb19388df3bf41c90e614f4b0f634e6b17783 [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-11T21:03:34.434Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-11-11T21:03:35.133Z] Warning: overwriting stash ‘coverage-report’ [2021-11-11T21:03:35.929Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-11T21:03:37.975Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-11-11T21:03:38.347Z] + ls -al . [2021-11-11T21:03:38.347Z] total 300 [2021-11-11T21:03:38.347Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 11 21:03 . [2021-11-11T21:03:38.347Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 11 20:57 .. [2021-11-11T21:03:38.347Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 11 20:57 .dockerignore [2021-11-11T21:03:38.347Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 11 20:57 .git [2021-11-11T21:03:38.347Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 11 20:57 .github [2021-11-11T21:03:38.347Z] -rw-rw-r-- 1 jenkins jenkins 131 Nov 11 20:57 .gitignore [2021-11-11T21:03:38.347Z] -rw-rw-r-- 1 jenkins jenkins 26321 Nov 11 20:57 CHANGELOG.md [2021-11-11T21:03:38.347Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 11 20:57 GOVERNANCE.md [2021-11-11T21:03:38.347Z] -rw-rw-r-- 1 jenkins jenkins 880 Nov 11 20:57 Jenkinsfile [2021-11-11T21:03:38.347Z] -rw-rw-r-- 1 jenkins jenkins 11341 Nov 11 20:57 LICENSE [2021-11-11T21:03:38.347Z] -rw-rw-r-- 1 jenkins jenkins 1120 Nov 11 20:57 Makefile [2021-11-11T21:03:38.347Z] -rw-rw-r-- 1 jenkins jenkins 619 Nov 11 20:57 OWNERS.md [2021-11-11T21:03:38.347Z] -rw-rw-r-- 1 jenkins jenkins 4877 Nov 11 20:57 README.md [2021-11-11T21:03:38.347Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 11 20:54 VERSION [2021-11-11T21:03:38.347Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 11 20:57 bin [2021-11-11T21:03:38.347Z] -rw-r--r-- 1 jenkins jenkins 128369 Nov 11 21:02 coverage.out [2021-11-11T21:03:38.347Z] drwxrwxr-x 5 jenkins jenkins 4096 Nov 11 20:57 example [2021-11-11T21:03:38.347Z] -rw-rw-r-- 1 jenkins jenkins 576 Nov 11 20:57 go.mod [2021-11-11T21:03:38.347Z] -rw-rw-r-- 1 jenkins jenkins 48946 Nov 11 20:57 go.sum [2021-11-11T21:03:38.347Z] drwxrwxr-x 15 jenkins jenkins 4096 Nov 11 20:57 internal [2021-11-11T21:03:38.347Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 11 20:57 openapi [2021-11-11T21:03:38.347Z] drwxrwxr-x 5 jenkins jenkins 4096 Nov 11 20:57 pkg [2021-11-11T21:03:38.347Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 11 20:57 snap [2021-11-11T21:03:38.347Z] -rw-rw-r-- 1 jenkins jenkins 222 Nov 11 20:57 version.go [Pipeline] isUnix [Pipeline] sh [2021-11-11T21:03:38.760Z] + 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=03476fba7273d9a3d87a9cc93fc1a73ffe49ac2b --label arch=arm64 --label version=0.0.0 . [2021-11-11T21:03:39.362Z] Sending build context to Docker daemon 2.884MB [2021-11-11T21:03:39.362Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-11-11T21:03:39.362Z] Step 2/24 : FROM ${BASE} AS builder [2021-11-11T21:03:39.362Z] ---> 3c8fde4c1efb [2021-11-11T21:03:39.362Z] Step 3/24 : ARG MAKE=make build [2021-11-11T21:03:39.642Z] ---> Running in e65d0e171b8e [2021-11-11T21:03:39.917Z] Removing intermediate container e65d0e171b8e [2021-11-11T21:03:39.917Z] ---> 474c742b889d [2021-11-11T21:03:39.917Z] Step 4/24 : WORKDIR /device-sdk-go [2021-11-11T21:03:40.192Z] ---> Running in 4a2d51c77af4 [2021-11-11T21:03:40.467Z] Removing intermediate container 4a2d51c77af4 [2021-11-11T21:03:40.467Z] ---> ad1ccb9d31a2 [2021-11-11T21:03:40.467Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-11T21:03:40.743Z] ---> Running in 8e76e909b10f [2021-11-11T21:03:41.023Z] Removing intermediate container 8e76e909b10f [2021-11-11T21:03:41.023Z] ---> 4e7ba9de8fcd [2021-11-11T21:03:41.023Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-11T21:03:41.298Z] ---> Running in 8ea8870cf3b8 [2021-11-11T21:03:43.278Z] Removing intermediate container 8ea8870cf3b8 [2021-11-11T21:03:43.278Z] ---> e9a4503c9585 [2021-11-11T21:03:43.278Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-11-11T21:03:43.278Z] ---> Running in 6fe8e38560b8 [2021-11-11T21:03:44.722Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-11T21:03:45.701Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-11T21:03:46.686Z] OK: 219 MiB in 52 packages [2021-11-11T21:03:47.669Z] Removing intermediate container 6fe8e38560b8 [2021-11-11T21:03:47.669Z] ---> e0272eea9b33 [2021-11-11T21:03:47.669Z] Step 8/24 : COPY . . [2021-11-11T21:03:49.129Z] ---> 75cd1d16371b [2021-11-11T21:03:49.129Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-11T21:03:49.129Z] ---> Running in cc24d2e9de28 [2021-11-11T21:03:51.765Z] Removing intermediate container cc24d2e9de28 [2021-11-11T21:03:51.765Z] ---> 2446fee48878 [2021-11-11T21:03:51.765Z] Step 10/24 : RUN ${MAKE} [2021-11-11T21:03:51.765Z] ---> Running in a78fe942e1d0 [2021-11-11T21:03:53.203Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-11-11T21:04:32.280Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-11-11T21:04:34.903Z] Removing intermediate container a78fe942e1d0 [2021-11-11T21:04:34.903Z] ---> a2e05320b3f5 [2021-11-11T21:04:34.903Z] Step 11/24 : FROM alpine:3.14 [2021-11-11T21:04:39.202Z] 3.14: Pulling from library/alpine [2021-11-11T21:04:39.202Z] 552d1f2373af: Already exists [2021-11-11T21:04:39.202Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-11-11T21:04:39.202Z] Status: Downloaded newer image for alpine:3.14 [2021-11-11T21:04:39.202Z] ---> bb3de5531c18 [2021-11-11T21:04:39.202Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-11T21:04:39.202Z] ---> Running in d10cbc72171c [2021-11-11T21:04:39.800Z] Removing intermediate container d10cbc72171c [2021-11-11T21:04:39.800Z] ---> 42905286b0ba [2021-11-11T21:04:39.800Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-11T21:04:39.800Z] ---> Running in c96bd9cbbe15 [2021-11-11T21:04:41.791Z] Removing intermediate container c96bd9cbbe15 [2021-11-11T21:04:41.791Z] ---> 5b34eab91638 [2021-11-11T21:04:41.791Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2021-11-11T21:04:41.791Z] ---> Running in a4072766edb5 [2021-11-11T21:04:43.239Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-11T21:04:44.221Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-11T21:04:45.203Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2021-11-11T21:04:45.203Z] (2/5) Installing libsodium (1.0.18-r0) [2021-11-11T21:04:45.203Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2021-11-11T21:04:45.478Z] (4/5) Installing libzmq (4.3.4-r0) [2021-11-11T21:04:45.478Z] (5/5) Installing zeromq (4.3.4-r0) [2021-11-11T21:04:45.478Z] Executing busybox-1.33.1-r3.trigger [2021-11-11T21:04:45.754Z] OK: 8 MiB in 19 packages [2021-11-11T21:04:47.198Z] Removing intermediate container a4072766edb5 [2021-11-11T21:04:47.198Z] ---> 746fd9a85e84 [2021-11-11T21:04:47.198Z] Step 15/24 : WORKDIR / [2021-11-11T21:04:47.198Z] ---> Running in 5c21cdea9dc3 [2021-11-11T21:04:47.474Z] Removing intermediate container 5c21cdea9dc3 [2021-11-11T21:04:47.474Z] ---> bbdb4bf9eb26 [2021-11-11T21:04:47.474Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-11-11T21:04:48.456Z] ---> 389b61f2308b [2021-11-11T21:04:48.456Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-11-11T21:04:49.447Z] ---> e2cf06eaa327 [2021-11-11T21:04:49.447Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-11-11T21:04:50.426Z] ---> f0305bdbcc24 [2021-11-11T21:04:50.426Z] Step 19/24 : EXPOSE 59999 [2021-11-11T21:04:50.426Z] ---> Running in 429718436b04 [2021-11-11T21:04:51.023Z] Removing intermediate container 429718436b04 [2021-11-11T21:04:51.023Z] ---> acddb240006c [2021-11-11T21:04:51.023Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2021-11-11T21:04:51.023Z] ---> Running in 7b87834d9bf9 [2021-11-11T21:04:51.619Z] Removing intermediate container 7b87834d9bf9 [2021-11-11T21:04:51.619Z] ---> ffbf314f65d6 [2021-11-11T21:04:51.619Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-11-11T21:04:51.619Z] ---> Running in c24f3387080c [2021-11-11T21:04:51.893Z] Removing intermediate container c24f3387080c [2021-11-11T21:04:51.893Z] ---> c5f5180574d7 [2021-11-11T21:04:51.893Z] Step 22/24 : LABEL arch=arm64 [2021-11-11T21:04:52.166Z] ---> Running in c1bdb8d5aa13 [2021-11-11T21:04:52.436Z] Removing intermediate container c1bdb8d5aa13 [2021-11-11T21:04:52.436Z] ---> a866f5b5f4eb [2021-11-11T21:04:52.436Z] Step 23/24 : LABEL git_sha=03476fba7273d9a3d87a9cc93fc1a73ffe49ac2b [2021-11-11T21:04:52.711Z] ---> Running in c5fe25842ac1 [2021-11-11T21:04:52.982Z] Removing intermediate container c5fe25842ac1 [2021-11-11T21:04:52.982Z] ---> 59cedb2eeeef [2021-11-11T21:04:52.982Z] Step 24/24 : LABEL version=0.0.0 [2021-11-11T21:04:53.255Z] ---> Running in c9a5ae55cce7 [2021-11-11T21:04:53.530Z] Removing intermediate container c9a5ae55cce7 [2021-11-11T21:04:53.530Z] ---> 67945e2ec7c3 [2021-11-11T21:04:53.530Z] [Warning] One or more build-args [ARCH] were not consumed [2021-11-11T21:04:53.530Z] Successfully built 67945e2ec7c3 [2021-11-11T21:04:53.530Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-11T21:04:54.714Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-11T21:04:54.985Z] [2021-11-11T21:04:54.985Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-11-11T21:04:55.425Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-11T21:04:55.702Z] arm64: Pulling from edgex-lftools-log-publisher [2021-11-11T21:04:55.702Z] 448f6bf000e3: Pulling fs layer [2021-11-11T21:04:55.702Z] f757da607395: Pulling fs layer [2021-11-11T21:04:55.702Z] 05883995daec: Pulling fs layer [2021-11-11T21:04:55.702Z] 8603b9c90790: Pulling fs layer [2021-11-11T21:04:55.702Z] 1560dd03e051: Pulling fs layer [2021-11-11T21:04:55.702Z] 27f5ce0e4adf: Pulling fs layer [2021-11-11T21:04:55.702Z] c2d8d7efcc4b: Pulling fs layer [2021-11-11T21:04:55.702Z] 8603b9c90790: Waiting [2021-11-11T21:04:55.702Z] 1560dd03e051: Waiting [2021-11-11T21:04:55.702Z] c2d8d7efcc4b: Waiting [2021-11-11T21:04:55.702Z] 27f5ce0e4adf: Waiting [2021-11-11T21:04:55.702Z] f757da607395: Verifying Checksum [2021-11-11T21:04:55.702Z] f757da607395: Download complete [2021-11-11T21:04:55.702Z] 8603b9c90790: Verifying Checksum [2021-11-11T21:04:55.702Z] 8603b9c90790: Download complete [2021-11-11T21:04:55.978Z] 1560dd03e051: Verifying Checksum [2021-11-11T21:04:55.978Z] 1560dd03e051: Download complete [2021-11-11T21:04:55.978Z] 27f5ce0e4adf: Verifying Checksum [2021-11-11T21:04:55.978Z] 27f5ce0e4adf: Download complete [2021-11-11T21:04:55.978Z] 05883995daec: Verifying Checksum [2021-11-11T21:04:55.978Z] 05883995daec: Download complete [2021-11-11T21:04:56.252Z] 448f6bf000e3: Verifying Checksum [2021-11-11T21:04:56.252Z] 448f6bf000e3: Download complete [2021-11-11T21:04:58.881Z] c2d8d7efcc4b: Verifying Checksum [2021-11-11T21:04:58.881Z] c2d8d7efcc4b: Download complete [2021-11-11T21:04:59.871Z] 448f6bf000e3: Pull complete [2021-11-11T21:05:00.501Z] f757da607395: Pull complete [2021-11-11T21:05:02.516Z] 05883995daec: Pull complete [2021-11-11T21:05:02.516Z] 8603b9c90790: Pull complete [2021-11-11T21:05:03.488Z] 1560dd03e051: Pull complete [2021-11-11T21:05:03.762Z] 27f5ce0e4adf: Pull complete [2021-11-11T21:05:18.813Z] c2d8d7efcc4b: Pull complete [2021-11-11T21:05:18.813Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-11-11T21:05:18.813Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-11T21:05:18.813Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-11-11T21:05:19.602Z] prd-ubuntu18.04-docker-arm64-4c-16g-237 does not seem to be running inside a container [2021-11-11T21:05:19.686Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-11-11T21:05:22.858Z] $ docker top 991fe592ea095522810b6ef302ee16a867cba008933b0a8ef10182208df0eae5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-11T21:05:24.071Z] ---> job-cost.sh [2021-11-11T21:05:24.071Z] lf-activate-venv: SKIPPING [2021-11-11T21:05:24.071Z] INFO: No Stack... [2021-11-11T21:05:24.343Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-11-11T21:05:24.934Z] INFO: Archiving Costs [Pipeline] sh [2021-11-11T21:05:25.872Z] + cut -d, -f6 [2021-11-11T21:05:25.872Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [Pipeline] lock [2021-11-11T21:05:26.022Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1067-1-stack-cost] [2021-11-11T21:05:26.177Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1067-1-stack-cost] did not exist. Created. [2021-11-11T21:05:26.177Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1067-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-11-11T21:05:27.339Z] /w/workspace/device-sdk-go/1@tmp/durable-533d923d/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-533d923d/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-11-11T21:05:28.085Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-11-11T21:05:28.139Z] Warning: overwriting stash ‘stack-cost’ [2021-11-11T21:05:28.208Z] Stashed 1 file(s) [Pipeline] } [2021-11-11T21:05:28.445Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1067-1-stack-cost] [Pipeline] // lock [Pipeline] } [2021-11-11T21:05:28.779Z] $ docker stop --time=1 991fe592ea095522810b6ef302ee16a867cba008933b0a8ef10182208df0eae5 [2021-11-11T21:05:30.367Z] $ docker rm -f 991fe592ea095522810b6ef302ee16a867cba008933b0a8ef10182208df0eae5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2021-11-11T21:05:38.100Z] provisioning config files... [2021-11-11T21:05:38.110Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1067@tmp/config1293934694899583884tmp [Pipeline] { [Pipeline] sh [2021-11-11T21:05:39.613Z] + set +x [2021-11-11T21:05:39.613Z] + bash -s -- [2021-11-11T21:05:39.613Z] + curl -s https://codecov.io/bash [2021-11-11T21:05:39.613Z] [2021-11-11T21:05:39.613Z] _____ _ [2021-11-11T21:05:39.613Z] / ____| | | [2021-11-11T21:05:39.613Z] | | ___ __| | ___ ___ _____ __ [2021-11-11T21:05:39.613Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-11-11T21:05:39.613Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-11-11T21:05:39.613Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-11-11T21:05:39.613Z] Bash-1.0.6 [2021-11-11T21:05:39.613Z] [2021-11-11T21:05:39.613Z] [2021-11-11T21:05:39.613Z] ==> git version 2.24.4 found [2021-11-11T21:05:39.613Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-11-11T21:05:39.613Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-11-11T21:05:39.613Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-11-11T21:05:39.613Z] ==> Jenkins CI detected. [2021-11-11T21:05:39.613Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1067 [2021-11-11T21:05:39.613Z] project root: . [2021-11-11T21:05:39.613Z] --> token set from env [2021-11-11T21:05:39.613Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-11-11T21:05:39.613Z] ==> Running gcov in . (disable via -X gcov) [2021-11-11T21:05:39.613Z] ==> Python coveragepy not found [2021-11-11T21:05:39.613Z] ==> Searching for coverage reports in: [2021-11-11T21:05:39.613Z] + . [2021-11-11T21:05:39.613Z] -> Found 1 reports [2021-11-11T21:05:39.613Z] ==> Detecting git/mercurial file structure [2021-11-11T21:05:39.874Z] ==> Reading reports [2021-11-11T21:05:39.874Z] + ./coverage.out bytes=128369 [2021-11-11T21:05:39.874Z] ==> Appending adjustments [2021-11-11T21:05:39.874Z] https://docs.codecov.io/docs/fixing-reports [2021-11-11T21:05:40.134Z] + Found adjustments [2021-11-11T21:05:40.134Z] ==> Gzipping contents [2021-11-11T21:05:40.134Z] 16K /tmp/codecov.jlJMbg.gz [2021-11-11T21:05:40.134Z] ==> Uploading reports [2021-11-11T21:05:40.134Z] url: https://codecov.io [2021-11-11T21:05:40.134Z] query: branch=PR-1067&commit=03476fba7273d9a3d87a9cc93fc1a73ffe49ac2b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1067%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1067&job=&cmd_args= [2021-11-11T21:05:40.134Z] -> Pinging Codecov [2021-11-11T21:05:40.134Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1067&commit=03476fba7273d9a3d87a9cc93fc1a73ffe49ac2b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1067%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1067&job=&cmd_args= [2021-11-11T21:05:40.702Z] -> Uploading to [2021-11-11T21:05:40.702Z] https://storage.googleapis.com/codecov/v4/raw/2021-11-11/7E55EF52A471D76F132DFD9A03CDDE97/03476fba7273d9a3d87a9cc93fc1a73ffe49ac2b/9ddc5d50-50ee-4b53-bf82-aecfb1e0aaff.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211111%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211111T210540Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7cba77b89e02f7d6b3535044f01c567a09008861dc9607da677b8458170d0897 [2021-11-11T21:05:40.702Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-11-11T21:05:40.702Z] Dload Upload Total Spent Left Speed [2021-11-11T21:05:40.961Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16302 0 0 100 16302 0 47653 --:--:-- --:--:-- --:--:-- 47666 [2021-11-11T21:05:40.962Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/03476fba7273d9a3d87a9cc93fc1a73ffe49ac2b [Pipeline] } [2021-11-11T21:05:41.534Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2021-11-11T21:05:48.308Z] + '[' -d /w/workspace/gexfoundry_device-sdk-go_PR-1067/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-11-11T21:05:48.658Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-11T21:05:49.552Z] ---> package-listing.sh [2021-11-11T21:05:49.552Z] ++ facter osfamily [2021-11-11T21:05:49.552Z] ++ tr '[:upper:]' '[:lower:]' [2021-11-11T21:05:49.815Z] + OS_FAMILY=redhat [2021-11-11T21:05:49.815Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1067 [2021-11-11T21:05:49.815Z] + START_PACKAGES=/tmp/packages_start.txt [2021-11-11T21:05:49.815Z] + END_PACKAGES=/tmp/packages_end.txt [2021-11-11T21:05:49.815Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-11-11T21:05:49.815Z] + PACKAGES=/tmp/packages_start.txt [2021-11-11T21:05:49.815Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1067 ']' [2021-11-11T21:05:49.815Z] + PACKAGES=/tmp/packages_end.txt [2021-11-11T21:05:49.815Z] + case "${OS_FAMILY}" in [2021-11-11T21:05:49.815Z] + rpm -qa [2021-11-11T21:05:49.815Z] + sort [2021-11-11T21:05:50.394Z] + '[' -f /tmp/packages_start.txt ']' [2021-11-11T21:05:50.394Z] + '[' -f /tmp/packages_end.txt ']' [2021-11-11T21:05:50.394Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-11-11T21:05:50.394Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1067 ']' [2021-11-11T21:05:50.394Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1067/archives/ [2021-11-11T21:05:50.394Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1067/archives/ [Pipeline] echo [2021-11-11T21:05:50.462Z] 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-1067/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-11-11T21:05:51.018Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-11-11T21:05:51.876Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-11T21:05:51.876Z] [2021-11-11T21:05:51.876Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-11-11T21:05:52.312Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-11T21:05:52.312Z] latest: Pulling from edgex-lftools-log-publisher [2021-11-11T21:05:52.312Z] b4d181a07f80: Pulling fs layer [2021-11-11T21:05:52.312Z] a1111a8f2ec3: Pulling fs layer [2021-11-11T21:05:52.312Z] ed53099fbce6: Pulling fs layer [2021-11-11T21:05:52.312Z] dc539afda2c1: Pulling fs layer [2021-11-11T21:05:52.312Z] 77bc0d833cb6: Pulling fs layer [2021-11-11T21:05:52.312Z] 9065ff56babe: Pulling fs layer [2021-11-11T21:05:52.312Z] d287ab97295c: Pulling fs layer [2021-11-11T21:05:52.312Z] dc539afda2c1: Waiting [2021-11-11T21:05:52.312Z] 77bc0d833cb6: Waiting [2021-11-11T21:05:52.312Z] 9065ff56babe: Waiting [2021-11-11T21:05:52.312Z] d287ab97295c: Waiting [2021-11-11T21:05:52.312Z] a1111a8f2ec3: Verifying Checksum [2021-11-11T21:05:52.312Z] a1111a8f2ec3: Download complete [2021-11-11T21:05:52.312Z] dc539afda2c1: Verifying Checksum [2021-11-11T21:05:52.312Z] dc539afda2c1: Download complete [2021-11-11T21:05:52.578Z] 77bc0d833cb6: Verifying Checksum [2021-11-11T21:05:52.578Z] 77bc0d833cb6: Download complete [2021-11-11T21:05:52.578Z] ed53099fbce6: Verifying Checksum [2021-11-11T21:05:52.578Z] ed53099fbce6: Download complete [2021-11-11T21:05:52.578Z] 9065ff56babe: Verifying Checksum [2021-11-11T21:05:52.578Z] 9065ff56babe: Download complete [2021-11-11T21:05:52.578Z] b4d181a07f80: Verifying Checksum [2021-11-11T21:05:52.578Z] b4d181a07f80: Download complete [2021-11-11T21:05:53.158Z] d287ab97295c: Verifying Checksum [2021-11-11T21:05:53.158Z] d287ab97295c: Download complete [2021-11-11T21:05:54.111Z] b4d181a07f80: Pull complete [2021-11-11T21:05:54.374Z] a1111a8f2ec3: Pull complete [2021-11-11T21:05:54.948Z] ed53099fbce6: Pull complete [2021-11-11T21:05:54.948Z] dc539afda2c1: Pull complete [2021-11-11T21:05:55.213Z] 77bc0d833cb6: Pull complete [2021-11-11T21:05:55.213Z] 9065ff56babe: Pull complete [2021-11-11T21:06:00.577Z] d287ab97295c: Pull complete [2021-11-11T21:06:00.577Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-11-11T21:06:00.577Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-11T21:06:00.577Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-11-11T21:06:00.694Z] prd-centos7-docker-4c-2g-232 does not seem to be running inside a container [2021-11-11T21:06:00.730Z] $ 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-1067/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-1067 -v /w/workspace/gexfoundry_device-sdk-go_PR-1067:/w/workspace/gexfoundry_device-sdk-go_PR-1067:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1067@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1067@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-11-11T21:06:03.160Z] $ docker top 18b1e57e69233c31aedb9c3ba60d1fe08772a40fe7c17a4d289a3648693d93ee -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-11T21:06:03.867Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-11-11T21:06:04.211Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-11-11T21:06:05.423Z] + ls /var/log/sa-host [2021-11-11T21:06:05.423Z] + sadf -c /var/log/sa-host/sa11 [2021-11-11T21:06:05.423Z] file_magic: OK [2021-11-11T21:06:05.423Z] HZ: Using current value: 100 [2021-11-11T21:06:05.423Z] file_header: OK [2021-11-11T21:06:05.423Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-11-11T21:06:05.423Z] Statistics: [2021-11-11T21:06:05.423Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-11-11T21:06:05.423Z] File successfully converted to sysstat format version 12.0.3 [2021-11-11T21:06:05.423Z] + sadf -c /var/log/sa-host/sa30 [2021-11-11T21:06:05.423Z] file_magic: OK [2021-11-11T21:06:05.423Z] HZ: Using current value: 100 [2021-11-11T21:06:05.423Z] file_header: OK [2021-11-11T21:06:05.423Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-11-11T21:06:05.423Z] Statistics: [2021-11-11T21:06:05.423Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-11-11T21:06:05.423Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-11T21:06:05.644Z] provisioning config files... [2021-11-11T21:06:05.654Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1067@tmp/config709221911606304562tmp [Pipeline] { [Pipeline] echo [2021-11-11T21:06:05.850Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-11T21:06:06.275Z] ---> create-netrc.sh [Pipeline] } [2021-11-11T21:06:06.341Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-11-11T21:06:23.571Z] ---> python-tools-install.sh [Pipeline] echo [2021-11-11T21:06:23.647Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-11T21:06:24.057Z] ---> sudo-logs.sh [2021-11-11T21:06:24.057Z] Archiving 'sudo' log.. [2021-11-11T21:06:24.057Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-232.novalocal: Name or service not known [2021-11-11T21:06:24.057Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-232.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-11-11T21:06:25.307Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-11T21:06:28.260Z] ---> job-cost.sh [2021-11-11T21:06:28.260Z] lf-activate-venv: SKIPPING [2021-11-11T21:06:28.260Z] DEBUG: total: 0.10999999940395355 [2021-11-11T21:06:28.260Z] INFO: Retrieving Stack Cost... [2021-11-11T21:06:30.810Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-11-11T21:06:31.070Z] INFO: Archiving Costs [Pipeline] echo [2021-11-11T21:06:31.915Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-11T21:06:33.350Z] ---> logs-deploy.sh [2021-11-11T21:06:33.350Z] lf-activate-venv: SKIPPING [2021-11-11T21:06:33.350Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1067/1 [2021-11-11T21:06:33.350Z] INFO: archiving workspace using pattern(s): [2021-11-11T21:06:33.928Z] Archives upload complete. [2021-11-11T21:06:34.189Z] INFO: archiving logs to Nexus