Pull request #1049 updated 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 2fe0b8f4787d5616329c621c4cd44b038ac925e1+03dd633c157cc78c3153413baf97d57252ad0ef0 (d9fe39ef55ee2f879a330b6d97d72b346580ac76) Running in Durability level: PERFORMANCE_OPTIMIZED 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-ssh4661777894327469027.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d6bf42d899a6140169a1fadeb6f44df9cdc48750 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh4357896467024903258.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision d6bf42d899a6140169a1fadeb6f44df9cdc48750 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1049/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-1049/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh5724918832888261898.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d6bf42d899a6140169a1fadeb6f44df9cdc48750 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d6bf42d899a6140169a1fadeb6f44df9cdc48750 # timeout=10 Commit message: "Merge pull request #360 from ernestojeda/fix-alpine-3-14-seccomp-issue" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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-ssh1626417382013515443.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1049/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-1049/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh2143525360905248225.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-13309 in /w/workspace/gexfoundry_device-sdk-go_PR-1049 [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-1049 # 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-1049@tmp/jenkins-gitclient-ssh2765765281415256260.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-1049@tmp/jenkins-gitclient-ssh4958928191032042146.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1049/head:refs/remotes/origin/PR-1049 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 03dd633c157cc78c3153413baf97d57252ad0ef0 into PR head commit 2fe0b8f4787d5616329c621c4cd44b038ac925e1 Merge succeeded, producing 2fe0b8f4787d5616329c621c4cd44b038ac925e1 Checking out Revision 2fe0b8f4787d5616329c621c4cd44b038ac925e1 (PR-1049) > git config core.sparsecheckout # timeout=10 > git checkout -f 2fe0b8f4787d5616329c621c4cd44b038ac925e1 # 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-1049@tmp/jenkins-gitclient-ssh6122072594075070649.key > git merge 03dd633c157cc78c3153413baf97d57252ad0ef0 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 2fe0b8f4787d5616329c621c4cd44b038ac925e1 # timeout=10 Commit message: "build: Update to latest go-mods, fix unit test" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-10-28T22:32:13.119Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-10-28T22:32:13.153Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-10-28T22:32:13.169Z] ========================================================= [2021-10-28T22:32:13.169Z] EdgeX Global Pipelines Version Info [2021-10-28T22:32:13.169Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 6f11bc3e51b679fdcae76e7cc35bdad78ac3a983 # timeout=10 [2021-10-28T22:32:14.353Z] ------------------- [2021-10-28T22:32:14.353Z] stable info: [2021-10-28T22:32:14.353Z] ------------------- [2021-10-28T22:32:14.353Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-10-28T22:32:14.353Z] Commit SHA: d6bf42d899a6140169a1fadeb6f44df9cdc48750 [2021-10-28T22:32:14.353Z] Message: update stable to v1.0.210 [2021-10-28T22:32:14.928Z] ------------------- [2021-10-28T22:32:14.928Z] experimental info: [2021-10-28T22:32:14.928Z] ------------------- [2021-10-28T22:32:14.929Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-10-28T22:32:14.929Z] Commit SHA: 9a07f3f07dd1acff74ab8b51a5ea399813bb16af [2021-10-28T22:32:14.929Z] Message: update experimental to v1.0.211 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-10-28T22:32:15.015Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-10-28T22:32:15.028Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-10-28T22:32:15.037Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-10-28T22:32:15.044Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-10-28T22:32:15.051Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-10-28T22:32:15.057Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-10-28T22:32:15.064Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-10-28T22:32:15.076Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-10-28T22:32:15.085Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-10-28T22:32:15.094Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-10-28T22:32:15.103Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-10-28T22:32:15.112Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-10-28T22:32:15.122Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-10-28T22:32:15.132Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-10-28T22:32:15.142Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-10-28T22:32:15.151Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-10-28T22:32:15.160Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-10-28T22:32:15.170Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-10-28T22:32:15.179Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-10-28T22:32:15.188Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-10-28T22:32:15.197Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-10-28T22:32:15.207Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-10-28T22:32:15.216Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-10-28T22:32:15.227Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-10-28T22:32:15.237Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-10-28T22:32:15.246Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-10-28T22:32:15.254Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1049 [Pipeline] echo [2021-10-28T22:32:15.261Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1049 [Pipeline] echo [2021-10-28T22:32:15.267Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1049 [Pipeline] echo [2021-10-28T22:32:15.276Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2fe0b8f4787d5616329c621c4cd44b038ac925e1 [Pipeline] echo [2021-10-28T22:32:15.293Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2fe0b8f [Pipeline] echo [2021-10-28T22:32:15.306Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-28T22:32:15.342Z] provisioning config files... [2021-10-28T22:32:15.359Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1049@tmp/config6589606595586591831tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-28T22:32:15.670Z] ---> docker-login.sh [2021-10-28T22:32:15.670Z] nexus3.edgexfoundry.org:10001 [2021-10-28T22:32:15.670Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T22:32:15.932Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T22:32:15.932Z] Configure a credential helper to remove this warning. See [2021-10-28T22:32:15.932Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T22:32:15.932Z] [2021-10-28T22:32:15.932Z] Login Succeeded [2021-10-28T22:32:15.932Z] nexus3.edgexfoundry.org:10002 [2021-10-28T22:32:15.932Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T22:32:15.932Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T22:32:15.932Z] Configure a credential helper to remove this warning. See [2021-10-28T22:32:15.932Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T22:32:15.932Z] [2021-10-28T22:32:15.932Z] Login Succeeded [2021-10-28T22:32:15.932Z] nexus3.edgexfoundry.org:10003 [2021-10-28T22:32:16.195Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T22:32:16.195Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T22:32:16.195Z] Configure a credential helper to remove this warning. See [2021-10-28T22:32:16.195Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T22:32:16.195Z] [2021-10-28T22:32:16.195Z] Login Succeeded [2021-10-28T22:32:16.195Z] nexus3.edgexfoundry.org:10004 [2021-10-28T22:32:16.195Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T22:32:16.195Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T22:32:16.195Z] Configure a credential helper to remove this warning. See [2021-10-28T22:32:16.195Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T22:32:16.195Z] [2021-10-28T22:32:16.195Z] Login Succeeded [2021-10-28T22:32:16.195Z] docker.io [2021-10-28T22:32:16.456Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T22:32:16.718Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T22:32:16.718Z] Configure a credential helper to remove this warning. See [2021-10-28T22:32:16.718Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T22:32:16.718Z] [2021-10-28T22:32:16.718Z] Login Succeeded [2021-10-28T22:32:16.718Z] ---> docker-login.sh ends [Pipeline] } [2021-10-28T22:32:16.728Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-10-28T22:32:17.146Z] + git log --format=format:%s -1 2fe0b8f4787d5616329c621c4cd44b038ac925e1 [Pipeline] echo [2021-10-28T22:32:17.184Z] GIT_COMMIT: 2fe0b8f4787d5616329c621c4cd44b038ac925e1, Commit Message: build: Update to latest go-mods, fix unit test [Pipeline] echo [2021-10-28T22:32:17.189Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-10-28T22:32:17.602Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-28T22:32:17.602Z] [2021-10-28T22:32:17.602Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-10-28T22:32:17.910Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-28T22:32:17.910Z] latest: Pulling from edgex-devops/git-semver [2021-10-28T22:32:17.910Z] a0d0a0d46f8b: Pulling fs layer [2021-10-28T22:32:17.910Z] 3e5f54012d9b: Pulling fs layer [2021-10-28T22:32:17.910Z] 4c7163046ea9: Pulling fs layer [2021-10-28T22:32:17.910Z] 0c2d73faf560: Pulling fs layer [2021-10-28T22:32:17.910Z] 0c2d73faf560: Waiting [2021-10-28T22:32:17.910Z] 3e5f54012d9b: Verifying Checksum [2021-10-28T22:32:17.910Z] 3e5f54012d9b: Download complete [2021-10-28T22:32:18.173Z] a0d0a0d46f8b: Verifying Checksum [2021-10-28T22:32:18.173Z] a0d0a0d46f8b: Download complete [2021-10-28T22:32:18.173Z] 0c2d73faf560: Verifying Checksum [2021-10-28T22:32:18.173Z] 0c2d73faf560: Download complete [2021-10-28T22:32:18.173Z] 4c7163046ea9: Verifying Checksum [2021-10-28T22:32:18.173Z] 4c7163046ea9: Download complete [2021-10-28T22:32:18.173Z] a0d0a0d46f8b: Pull complete [2021-10-28T22:32:18.437Z] 3e5f54012d9b: Pull complete [2021-10-28T22:32:18.704Z] 4c7163046ea9: Pull complete [2021-10-28T22:32:18.968Z] 0c2d73faf560: Pull complete [2021-10-28T22:32:18.968Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-10-28T22:32:18.968Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-28T22:32:18.968Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-10-28T22:32:19.057Z] prd-centos7-docker-4c-2g-13309 does not seem to be running inside a container [2021-10-28T22:32:19.042Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1049 -v /w/workspace/gexfoundry_device-sdk-go_PR-1049:/w/workspace/gexfoundry_device-sdk-go_PR-1049:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1049@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1049@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:10004/edgex-devops/git-semver:latest cat [2021-10-28T22:32:19.792Z] $ docker top d3417bc4d1b83581583b50a484c8dd747e4720ebc20d47a935db9652c39103d7 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-28T22:32:19.891Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-28T22:32:19.891Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-28T22:32:20.006Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-28T22:32:20.007Z] $ docker exec d3417bc4d1b83581583b50a484c8dd747e4720ebc20d47a935db9652c39103d7 ssh-agent [2021-10-28T22:32:20.124Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXBBfPME/agent.15 [2021-10-28T22:32:20.124Z] SSH_AGENT_PID=22 [2021-10-28T22:32:20.133Z] Running ssh-add (command line suppressed) [2021-10-28T22:32:20.257Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1049@tmp/private_key_7138373418017768051.key (/w/workspace/gexfoundry_device-sdk-go_PR-1049@tmp/private_key_7138373418017768051.key) [2021-10-28T22:32:20.274Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-28T22:32:20.580Z] + git tag --points-at HEAD [Pipeline] } [2021-10-28T22:32:20.593Z] $ docker exec --env ******** --env ******** d3417bc4d1b83581583b50a484c8dd747e4720ebc20d47a935db9652c39103d7 ssh-agent -k [2021-10-28T22:32:20.687Z] unset SSH_AUTH_SOCK; [2021-10-28T22:32:20.687Z] unset SSH_AGENT_PID; [2021-10-28T22:32:20.687Z] echo Agent pid 22 killed; [2021-10-28T22:32:20.703Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-10-28T22:32:20.727Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-28T22:32:20.727Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-28T22:32:20.841Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-28T22:32:20.843Z] $ docker exec d3417bc4d1b83581583b50a484c8dd747e4720ebc20d47a935db9652c39103d7 ssh-agent [2021-10-28T22:32:20.968Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXhAfEal/agent.56 [2021-10-28T22:32:20.968Z] SSH_AGENT_PID=63 [2021-10-28T22:32:20.973Z] Running ssh-add (command line suppressed) [2021-10-28T22:32:21.066Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1049@tmp/private_key_8482023284121821723.key (/w/workspace/gexfoundry_device-sdk-go_PR-1049@tmp/private_key_8482023284121821723.key) [2021-10-28T22:32:21.083Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-28T22:32:21.380Z] + git semver init [2021-10-28T22:32:21.380Z] # -> Open(): unable to determine branch for HEAD [2021-10-28T22:32:21.380Z] # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1049/.git [2021-10-28T22:32:21.380Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1049 [2021-10-28T22:32:21.380Z] # $SEMVER_REMOTE_NAME = origin [2021-10-28T22:32:21.380Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-28T22:32:21.380Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-28T22:32:21.380Z] # $SEMVER_BRANCH = PR-1049 [2021-10-28T22:32:21.380Z] # $SEMVER_TEMP = /tmp/semver-354400533 [2021-10-28T22:32:21.380Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-10-28T22:32:22.327Z] # '/tmp/semver-354400533' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1049/.semver' [2021-10-28T22:32:22.327Z] # -> Force: false [2021-10-28T22:32:22.327Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1049/.semver [Pipeline] } [2021-10-28T22:32:22.338Z] $ docker exec --env ******** --env ******** d3417bc4d1b83581583b50a484c8dd747e4720ebc20d47a935db9652c39103d7 ssh-agent -k [2021-10-28T22:32:22.443Z] unset SSH_AUTH_SOCK; [2021-10-28T22:32:22.444Z] unset SSH_AGENT_PID; [2021-10-28T22:32:22.444Z] echo Agent pid 63 killed; [2021-10-28T22:32:22.457Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-28T22:32:22.778Z] + git semver [Pipeline] } [2021-10-28T22:32:22.790Z] $ docker stop --time=1 d3417bc4d1b83581583b50a484c8dd747e4720ebc20d47a935db9652c39103d7 [2021-10-28T22:32:24.097Z] $ docker rm -f d3417bc4d1b83581583b50a484c8dd747e4720ebc20d47a935db9652c39103d7 [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-28T22:32:24.456Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-10-28T22:32:24.686Z] Stashed 1 file(s) [Pipeline] echo [2021-10-28T22:32:24.688Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-10-28T22:32:39.824Z] Still waiting to schedule task [2021-10-28T22:32:39.825Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-10-28T22:32:39.829Z] Still waiting to schedule task [2021-10-28T22:32:39.829Z] Waiting for next available executor on ‘ubuntu18.04-docker-arm64-4c-16g’ [2021-10-28T22:34:16.245Z] Running on prd-centos7-docker-4c-2g-13312 in /w/workspace/gexfoundry_device-sdk-go_PR-1049 [Pipeline] { [Pipeline] ws [2021-10-28T22:34:16.257Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-10-28T22:34:16.325Z] Selected Git installation does not exist. Using Default [2021-10-28T22:34:16.325Z] The recommended git tool is: NONE [2021-10-28T22:34:18.395Z] using credential edgex-jenkins-ssh [2021-10-28T22:34:18.407Z] Cloning the remote Git repository [2021-10-28T22:34:18.467Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-10-28T22:34:18.521Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-10-28T22:34:18.552Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-10-28T22:34:18.552Z] > git --version # timeout=10 [2021-10-28T22:34:18.560Z] > git --version # 'git version 2.24.4' [2021-10-28T22:34:18.561Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-28T22:34:18.582Z] [INFO] Currently running in a labeled security context [2021-10-28T22:34:18.582Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-28T22:34:18.582Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/2@tmp/jenkins-gitclient-ssh1307157993611098434.key [2021-10-28T22:34:18.606Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-28T22:34:19.388Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-10-28T22:34:19.397Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-28T22:34:19.414Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-10-28T22:34:19.427Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-10-28T22:34:19.427Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-28T22:34:19.428Z] [INFO] Currently running in a labeled security context [2021-10-28T22:34:19.428Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-28T22:34:19.428Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/2@tmp/jenkins-gitclient-ssh3734432081253200480.key [2021-10-28T22:34:19.436Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1049/head:refs/remotes/origin/PR-1049 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-10-28T22:34:19.967Z] Merging remotes/origin/main commit 03dd633c157cc78c3153413baf97d57252ad0ef0 into PR head commit 2fe0b8f4787d5616329c621c4cd44b038ac925e1 [2021-10-28T22:34:20.063Z] Merge succeeded, producing 2fe0b8f4787d5616329c621c4cd44b038ac925e1 [2021-10-28T22:34:20.064Z] Checking out Revision 2fe0b8f4787d5616329c621c4cd44b038ac925e1 (PR-1049) [2021-10-28T22:34:20.012Z] > git config core.sparsecheckout # timeout=10 [2021-10-28T22:34:20.024Z] > git checkout -f 2fe0b8f4787d5616329c621c4cd44b038ac925e1 # timeout=10 [2021-10-28T22:34:20.059Z] > git remote # timeout=10 [2021-10-28T22:34:20.066Z] > git config --get remote.origin.url # timeout=10 [2021-10-28T22:34:20.072Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-28T22:34:20.073Z] [INFO] Currently running in a labeled security context [2021-10-28T22:34:20.073Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-28T22:34:20.073Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/2@tmp/jenkins-gitclient-ssh3417473879566644372.key [2021-10-28T22:34:20.079Z] > git merge 03dd633c157cc78c3153413baf97d57252ad0ef0 # timeout=10 [2021-10-28T22:34:20.086Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-10-28T22:34:20.103Z] > git config core.sparsecheckout # timeout=10 [2021-10-28T22:34:20.106Z] > git checkout -f 2fe0b8f4787d5616329c621c4cd44b038ac925e1 # timeout=10 [2021-10-28T22:34:23.803Z] Commit message: "build: Update to latest go-mods, fix unit test" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-28T22:34:24.166Z] provisioning config files... [2021-10-28T22:34:24.183Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config7458985585186684508tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-28T22:34:24.564Z] ---> docker-login.sh [2021-10-28T22:34:24.564Z] nexus3.edgexfoundry.org:10001 [2021-10-28T22:34:24.564Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T22:34:24.564Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T22:34:24.564Z] Configure a credential helper to remove this warning. See [2021-10-28T22:34:24.564Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T22:34:24.564Z] [2021-10-28T22:34:24.564Z] Login Succeeded [2021-10-28T22:34:24.564Z] nexus3.edgexfoundry.org:10002 [2021-10-28T22:34:24.830Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T22:34:24.830Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T22:34:24.830Z] Configure a credential helper to remove this warning. See [2021-10-28T22:34:24.830Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T22:34:24.830Z] [2021-10-28T22:34:24.830Z] Login Succeeded [2021-10-28T22:34:24.830Z] nexus3.edgexfoundry.org:10003 [2021-10-28T22:34:24.830Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T22:34:24.830Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T22:34:24.830Z] Configure a credential helper to remove this warning. See [2021-10-28T22:34:24.830Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T22:34:24.830Z] [2021-10-28T22:34:24.830Z] Login Succeeded [2021-10-28T22:34:24.830Z] nexus3.edgexfoundry.org:10004 [2021-10-28T22:34:24.830Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T22:34:25.091Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T22:34:25.091Z] Configure a credential helper to remove this warning. See [2021-10-28T22:34:25.091Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T22:34:25.091Z] [2021-10-28T22:34:25.091Z] Login Succeeded [2021-10-28T22:34:25.091Z] docker.io [2021-10-28T22:34:25.091Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T22:34:25.350Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T22:34:25.350Z] Configure a credential helper to remove this warning. See [2021-10-28T22:34:25.350Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T22:34:25.350Z] [2021-10-28T22:34:25.350Z] Login Succeeded [2021-10-28T22:34:25.350Z] ---> docker-login.sh ends [Pipeline] } [2021-10-28T22:34:25.379Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-10-28T22:34:25.500Z] ========================================================= [2021-10-28T22:34:25.501Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-10-28T22:34:25.501Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-10-28T22:34:25.804Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine --build-arg 'MAKE=echo noop' --target=builder . [2021-10-28T22:34:25.804Z] Sending build context to Docker daemon 2.763MB [2021-10-28T22:34:25.804Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2021-10-28T22:34:25.804Z] Step 2/10 : FROM ${BASE} AS builder [2021-10-28T22:34:25.804Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-10-28T22:34:25.804Z] a0d0a0d46f8b: Pulling fs layer [2021-10-28T22:34:25.804Z] 31adcdaf11c8: Pulling fs layer [2021-10-28T22:34:25.804Z] b8b176561691: Pulling fs layer [2021-10-28T22:34:25.804Z] 4527c011a84f: Pulling fs layer [2021-10-28T22:34:25.804Z] 5d74067f8e1e: Pulling fs layer [2021-10-28T22:34:25.804Z] e0aca202a116: Pulling fs layer [2021-10-28T22:34:25.804Z] 3a43be97a3b4: Pulling fs layer [2021-10-28T22:34:25.804Z] 34cad66bf833: Pulling fs layer [2021-10-28T22:34:25.804Z] b4e3c513aaa6: Pulling fs layer [2021-10-28T22:34:25.804Z] 4527c011a84f: Waiting [2021-10-28T22:34:25.804Z] 5d74067f8e1e: Waiting [2021-10-28T22:34:25.804Z] e0aca202a116: Waiting [2021-10-28T22:34:25.804Z] 3a43be97a3b4: Waiting [2021-10-28T22:34:25.804Z] 34cad66bf833: Waiting [2021-10-28T22:34:25.804Z] b4e3c513aaa6: Waiting [2021-10-28T22:34:25.804Z] b8b176561691: Verifying Checksum [2021-10-28T22:34:25.804Z] b8b176561691: Download complete [2021-10-28T22:34:25.804Z] 31adcdaf11c8: Verifying Checksum [2021-10-28T22:34:25.804Z] 31adcdaf11c8: Download complete [2021-10-28T22:34:25.804Z] 5d74067f8e1e: Verifying Checksum [2021-10-28T22:34:25.804Z] 5d74067f8e1e: Download complete [2021-10-28T22:34:25.804Z] e0aca202a116: Verifying Checksum [2021-10-28T22:34:25.804Z] e0aca202a116: Download complete [2021-10-28T22:34:25.804Z] 3a43be97a3b4: Verifying Checksum [2021-10-28T22:34:25.804Z] 3a43be97a3b4: Download complete [2021-10-28T22:34:25.804Z] a0d0a0d46f8b: Verifying Checksum [2021-10-28T22:34:25.804Z] a0d0a0d46f8b: Download complete [2021-10-28T22:34:26.073Z] 34cad66bf833: Verifying Checksum [2021-10-28T22:34:26.073Z] 34cad66bf833: Download complete [2021-10-28T22:34:26.340Z] a0d0a0d46f8b: Pull complete [2021-10-28T22:34:26.604Z] 4527c011a84f: Verifying Checksum [2021-10-28T22:34:26.604Z] 4527c011a84f: Download complete [2021-10-28T22:34:26.604Z] b4e3c513aaa6: Verifying Checksum [2021-10-28T22:34:26.604Z] b4e3c513aaa6: Download complete [2021-10-28T22:34:26.604Z] 31adcdaf11c8: Pull complete [2021-10-28T22:34:26.604Z] b8b176561691: Pull complete [2021-10-28T22:34:30.848Z] 4527c011a84f: Pull complete [2021-10-28T22:34:30.848Z] 5d74067f8e1e: Pull complete [2021-10-28T22:34:30.848Z] e0aca202a116: Pull complete [2021-10-28T22:34:30.848Z] 3a43be97a3b4: Pull complete [2021-10-28T22:34:30.848Z] 34cad66bf833: Pull complete [2021-10-28T22:34:33.392Z] b4e3c513aaa6: Pull complete [2021-10-28T22:34:33.392Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2021-10-28T22:34:33.392Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-10-28T22:34:33.392Z] ---> 9f6097aaca64 [2021-10-28T22:34:33.392Z] Step 3/10 : ARG MAKE=make build [2021-10-28T22:34:34.792Z] ---> Running in 109335754a92 [2021-10-28T22:34:34.792Z] Removing intermediate container 109335754a92 [2021-10-28T22:34:34.792Z] ---> 51ec2530e3e5 [2021-10-28T22:34:34.792Z] Step 4/10 : WORKDIR /device-sdk-go [2021-10-28T22:34:34.792Z] ---> Running in 5ee405f3d016 [2021-10-28T22:34:35.052Z] Removing intermediate container 5ee405f3d016 [2021-10-28T22:34:35.052Z] ---> e41ab45f6ba8 [2021-10-28T22:34:35.052Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-28T22:34:35.052Z] ---> Running in bfe0ac74ea1e [2021-10-28T22:34:35.052Z] Removing intermediate container bfe0ac74ea1e [2021-10-28T22:34:35.052Z] ---> 33a2a7f8d085 [2021-10-28T22:34:35.052Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-28T22:34:35.052Z] ---> Running in d98cf4113c21 [2021-10-28T22:34:35.626Z] Removing intermediate container d98cf4113c21 [2021-10-28T22:34:35.626Z] ---> 169a4ff5fa14 [2021-10-28T22:34:35.626Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-10-28T22:34:35.626Z] ---> Running in 64bbdbf762d2 [2021-10-28T22:34:35.626Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-10-28T22:34:36.568Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-10-28T22:34:37.140Z] OK: 220 MiB in 52 packages [2021-10-28T22:34:37.140Z] Removing intermediate container 64bbdbf762d2 [2021-10-28T22:34:37.140Z] ---> 4c4e0269c7c4 [2021-10-28T22:34:37.140Z] Step 8/10 : COPY . . [2021-10-28T22:34:37.404Z] ---> 2a6b3889dc4b [2021-10-28T22:34:37.404Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-28T22:34:37.404Z] ---> Running in f9636b1a738e [2021-10-28T22:35:09.565Z] Removing intermediate container f9636b1a738e [2021-10-28T22:35:09.565Z] ---> 672b3da84494 [2021-10-28T22:35:09.565Z] Step 10/10 : RUN ${MAKE} [2021-10-28T22:35:09.565Z] ---> Running in 8e7f1d467e1b [2021-10-28T22:35:09.565Z] noop [2021-10-28T22:35:09.565Z] Removing intermediate container 8e7f1d467e1b [2021-10-28T22:35:09.565Z] ---> f024e0012f87 [2021-10-28T22:35:09.565Z] Successfully built f024e0012f87 [2021-10-28T22:35:09.565Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-10-28T22:35:09.862Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-28T22:35:09.863Z] . [Pipeline] withDockerContainer [2021-10-28T22:35:09.931Z] prd-centos7-docker-4c-2g-13312 does not seem to be running inside a container [2021-10-28T22:35:09.963Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-10-28T22:35:10.285Z] $ docker top 69e0646022d6afe3d09d19ae36bcfe606292293511cb57414fa09f1d2536289f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-28T22:35:10.642Z] + go version [2021-10-28T22:35:10.642Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-10-28T22:35:10.651Z] $ docker stop --time=1 69e0646022d6afe3d09d19ae36bcfe606292293511cb57414fa09f1d2536289f [2021-10-28T22:35:11.841Z] $ docker rm -f 69e0646022d6afe3d09d19ae36bcfe606292293511cb57414fa09f1d2536289f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-28T22:35:12.323Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-28T22:35:12.323Z] . [Pipeline] withDockerContainer [2021-10-28T22:35:12.391Z] prd-centos7-docker-4c-2g-13312 does not seem to be running inside a container [2021-10-28T22:35:12.434Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-10-28T22:35:12.784Z] $ docker top 49618544c3c9dba887b084b94f6c6e0f97216ff3c489002dd2a41aecb05d94f7 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-10-28T22:35:13.164Z] + make test [2021-10-28T22:35:13.164Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-10-28T22:35:18.355Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-13311 in /w/workspace/gexfoundry_device-sdk-go_PR-1049 [Pipeline] { [Pipeline] ws [2021-10-28T22:35:18.367Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2021-10-28T22:35:18.498Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-10-28T22:35:18.580Z] Selected Git installation does not exist. Using Default [2021-10-28T22:35:18.580Z] The recommended git tool is: NONE [2021-10-28T22:35:23.833Z] using credential edgex-jenkins-ssh [2021-10-28T22:35:23.867Z] Cloning the remote Git repository [2021-10-28T22:35:23.957Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-10-28T22:35:24.091Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2021-10-28T22:35:24.181Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-10-28T22:35:24.183Z] > git --version # timeout=10 [2021-10-28T22:35:24.204Z] > git --version # 'git version 2.17.1' [2021-10-28T22:35:24.205Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-28T22:35:24.318Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-28T22:35:25.555Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-10-28T22:35:25.571Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-28T22:35:25.598Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-10-28T22:35:25.641Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-10-28T22:35:25.642Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-28T22:35:25.656Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1049/head:refs/remotes/origin/PR-1049 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-10-28T22:35:26.374Z] Merging remotes/origin/main commit 03dd633c157cc78c3153413baf97d57252ad0ef0 into PR head commit 2fe0b8f4787d5616329c621c4cd44b038ac925e1 [2021-10-28T22:35:26.611Z] Merge succeeded, producing 2fe0b8f4787d5616329c621c4cd44b038ac925e1 [2021-10-28T22:35:26.612Z] Checking out Revision 2fe0b8f4787d5616329c621c4cd44b038ac925e1 (PR-1049) [2021-10-28T22:35:26.392Z] > git config core.sparsecheckout # timeout=10 [2021-10-28T22:35:26.414Z] > git checkout -f 2fe0b8f4787d5616329c621c4cd44b038ac925e1 # timeout=10 [2021-10-28T22:35:26.517Z] > git remote # timeout=10 [2021-10-28T22:35:26.539Z] > git config --get remote.origin.url # timeout=10 [2021-10-28T22:35:26.558Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-28T22:35:26.568Z] > git merge 03dd633c157cc78c3153413baf97d57252ad0ef0 # timeout=10 [2021-10-28T22:35:26.589Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-10-28T22:35:26.616Z] > git config core.sparsecheckout # timeout=10 [2021-10-28T22:35:26.639Z] > git checkout -f 2fe0b8f4787d5616329c621c4cd44b038ac925e1 # timeout=10 [2021-10-28T22:35:30.840Z] Commit message: "build: Update to latest go-mods, fix unit test" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-10-28T22:35:31.688Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2021-10-28T22:35:31.688Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-10-28T22:35:31.688Z] Dload Upload Total Spent Left Speed [2021-10-28T22:35:31.688Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 78304 0 --:--:-- --:--:-- --:--:-- 78304 [Pipeline] sh [2021-10-28T22:35:32.095Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2021-10-28T22:35:32.434Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2021-10-28T22:35:32.434Z] + sudo tee /etc/docker/daemon.new [2021-10-28T22:35:32.434Z] { [2021-10-28T22:35:32.434Z] "registry-mirrors": [ [2021-10-28T22:35:32.434Z] "https://nexus3.edgexfoundry.org:10001" [2021-10-28T22:35:32.434Z] ], [2021-10-28T22:35:32.434Z] "bip": "10.250.0.254/24", [2021-10-28T22:35:32.434Z] "hosts": [ [2021-10-28T22:35:32.434Z] "tcp://0.0.0.0:5555", [2021-10-28T22:35:32.434Z] "unix:///var/run/docker.sock" [2021-10-28T22:35:32.434Z] ], [2021-10-28T22:35:32.434Z] "mtu": 1458, [2021-10-28T22:35:32.434Z] "selinux-enabled": true, [2021-10-28T22:35:32.434Z] "seccomp-profile": "/etc/docker/seccomp.json" [2021-10-28T22:35:32.434Z] } [Pipeline] sh [2021-10-28T22:35:32.777Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2021-10-28T22:35:33.119Z] + sudo service docker restart [2021-10-28T22:35:40.556Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-10-28T22:35:40.556Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-10-28T22:35:40.556Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-10-28T22:35:42.505Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.053s coverage: 23.8% of statements [2021-10-28T22:35:42.505Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-10-28T22:35:42.505Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.046s coverage: 28.1% of statements [2021-10-28T22:35:42.782Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.051s coverage: 78.9% of statements [2021-10-28T22:35:43.043Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.044s coverage: 9.0% of statements [2021-10-28T22:35:43.043Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-10-28T22:35:43.043Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-10-28T22:35:43.043Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-10-28T22:35:43.990Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.068s coverage: 28.7% of statements [2021-10-28T22:35:43.990Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-10-28T22:35:44.937Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.049s coverage: 83.3% of statements [2021-10-28T22:35:44.937Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-10-28T22:35:44.937Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-10-28T22:35:44.937Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.079s coverage: 57.8% of statements [2021-10-28T22:35:46.337Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.798s coverage: 88.8% of statements [2021-10-28T22:35:46.337Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-10-28T22:35:46.337Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.051s coverage: 4.9% of statements [2021-10-28T22:35:46.337Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-10-28T22:35:46.337Z] GO111MODULE=on go vet ./... [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-28T22:35:51.464Z] provisioning config files... [2021-10-28T22:35:51.488Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config859239162536171627tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-28T22:35:51.847Z] ---> docker-login.sh [2021-10-28T22:35:51.847Z] nexus3.edgexfoundry.org:10001 [2021-10-28T22:35:52.829Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T22:35:53.103Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T22:35:53.103Z] Configure a credential helper to remove this warning. See [2021-10-28T22:35:53.103Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T22:35:53.103Z] [2021-10-28T22:35:53.103Z] Login Succeeded [2021-10-28T22:35:53.103Z] nexus3.edgexfoundry.org:10002 [2021-10-28T22:35:53.377Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T22:35:53.651Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T22:35:53.651Z] Configure a credential helper to remove this warning. See [2021-10-28T22:35:53.651Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T22:35:53.651Z] [2021-10-28T22:35:53.651Z] Login Succeeded [2021-10-28T22:35:53.651Z] nexus3.edgexfoundry.org:10003 [2021-10-28T22:35:53.928Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T22:35:54.206Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T22:35:54.206Z] Configure a credential helper to remove this warning. See [2021-10-28T22:35:54.206Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T22:35:54.206Z] [2021-10-28T22:35:54.206Z] Login Succeeded [2021-10-28T22:35:54.206Z] nexus3.edgexfoundry.org:10004 [2021-10-28T22:35:54.479Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T22:35:54.755Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T22:35:54.755Z] Configure a credential helper to remove this warning. See [2021-10-28T22:35:54.755Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T22:35:54.755Z] [2021-10-28T22:35:54.755Z] Login Succeeded [2021-10-28T22:35:54.755Z] docker.io [2021-10-28T22:35:55.028Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-28T22:35:55.624Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-28T22:35:55.624Z] Configure a credential helper to remove this warning. See [2021-10-28T22:35:55.624Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-28T22:35:55.624Z] [2021-10-28T22:35:55.624Z] Login Succeeded [2021-10-28T22:35:55.624Z] ---> docker-login.sh ends [Pipeline] } [2021-10-28T22:35:55.642Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-10-28T22:35:56.337Z] ========================================================= [2021-10-28T22:35:56.337Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-10-28T22:35:56.337Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-10-28T22:35:56.711Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine --build-arg MAKE=echo noop --target=builder . [2021-10-28T22:35:57.349Z] Sending build context to Docker daemon 2.771MB [2021-10-28T22:35:57.349Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2021-10-28T22:35:57.349Z] Step 2/10 : FROM ${BASE} AS builder [2021-10-28T22:35:57.349Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-10-28T22:35:57.349Z] 552d1f2373af: Pulling fs layer [2021-10-28T22:35:57.349Z] ea3f2d53f512: Pulling fs layer [2021-10-28T22:35:57.349Z] 9e70ebbbe112: Pulling fs layer [2021-10-28T22:35:57.349Z] 7a9cfe048b4a: Pulling fs layer [2021-10-28T22:35:57.349Z] 72dc09318566: Pulling fs layer [2021-10-28T22:35:57.349Z] f4f7b4309257: Pulling fs layer [2021-10-28T22:35:57.349Z] 0ac9a79272e3: Pulling fs layer [2021-10-28T22:35:57.349Z] b78e95d17946: Pulling fs layer [2021-10-28T22:35:57.349Z] f4f7b4309257: Waiting [2021-10-28T22:35:57.349Z] 0ac9a79272e3: Waiting [2021-10-28T22:35:57.349Z] b78e95d17946: Waiting [2021-10-28T22:35:57.349Z] 7a9cfe048b4a: Waiting [2021-10-28T22:35:57.349Z] 72dc09318566: Waiting [2021-10-28T22:35:57.349Z] 9e70ebbbe112: Verifying Checksum [2021-10-28T22:35:57.349Z] 9e70ebbbe112: Download complete [2021-10-28T22:35:57.349Z] ea3f2d53f512: Download complete [2021-10-28T22:35:57.349Z] 72dc09318566: Verifying Checksum [2021-10-28T22:35:57.349Z] 72dc09318566: Download complete [2021-10-28T22:35:57.629Z] f4f7b4309257: Verifying Checksum [2021-10-28T22:35:57.629Z] f4f7b4309257: Download complete [2021-10-28T22:35:57.629Z] 552d1f2373af: Download complete [2021-10-28T22:35:57.629Z] 0ac9a79272e3: Verifying Checksum [2021-10-28T22:35:57.629Z] 0ac9a79272e3: Download complete [2021-10-28T22:35:58.232Z] 552d1f2373af: Pull complete [2021-10-28T22:35:58.847Z] ea3f2d53f512: Pull complete [2021-10-28T22:35:59.121Z] 9e70ebbbe112: Pull complete [2021-10-28T22:35:59.393Z] b78e95d17946: Verifying Checksum [2021-10-28T22:35:59.393Z] b78e95d17946: Download complete [2021-10-28T22:35:59.989Z] 7a9cfe048b4a: Verifying Checksum [2021-10-28T22:35:59.989Z] 7a9cfe048b4a: Download complete [2021-10-28T22:36:04.543Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-10-28T22:36:04.543Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-10-28T22:36:04.543Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-10-28T22:36:05.125Z] $ docker stop --time=1 49618544c3c9dba887b084b94f6c6e0f97216ff3c489002dd2a41aecb05d94f7 [2021-10-28T22:36:06.615Z] $ docker rm -f 49618544c3c9dba887b084b94f6c6e0f97216ff3c489002dd2a41aecb05d94f7 [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-28T22:36:07.051Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-10-28T22:36:07.256Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-10-28T22:36:08.497Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-10-28T22:36:08.786Z] + ls -al . [2021-10-28T22:36:08.786Z] total 264 [2021-10-28T22:36:08.786Z] drwxrwxr-x. 10 jenkins jenkins 4096 Oct 28 22:36 . [2021-10-28T22:36:08.786Z] drwxrwxr-x. 4 jenkins jenkins 28 Oct 28 22:34 .. [2021-10-28T22:36:08.786Z] drwxrwxr-x. 2 jenkins jenkins 37 Oct 28 22:34 bin [2021-10-28T22:36:08.786Z] -rw-rw-r--. 1 jenkins jenkins 24816 Oct 28 22:34 CHANGELOG.md [2021-10-28T22:36:08.786Z] -rw-r--r--. 1 jenkins jenkins 126785 Oct 28 22:35 coverage.out [2021-10-28T22:36:08.786Z] -rw-rw-r--. 1 jenkins jenkins 140 Oct 28 22:34 .dockerignore [2021-10-28T22:36:08.786Z] drwxrwxr-x. 5 jenkins jenkins 62 Oct 28 22:34 example [2021-10-28T22:36:08.786Z] drwxrwxr-x. 8 jenkins jenkins 179 Oct 28 22:34 .git [2021-10-28T22:36:08.786Z] drwxrwxr-x. 3 jenkins jenkins 125 Oct 28 22:34 .github [2021-10-28T22:36:08.786Z] -rw-rw-r--. 1 jenkins jenkins 131 Oct 28 22:34 .gitignore [2021-10-28T22:36:08.786Z] -rw-rw-r--. 1 jenkins jenkins 602 Oct 28 22:34 go.mod [2021-10-28T22:36:08.786Z] -rw-rw-r--. 1 jenkins jenkins 50012 Oct 28 22:34 go.sum [2021-10-28T22:36:08.786Z] -rw-rw-r--. 1 jenkins jenkins 677 Oct 28 22:34 GOVERNANCE.md [2021-10-28T22:36:08.786Z] drwxrwxr-x. 15 jenkins jenkins 224 Oct 28 22:34 internal [2021-10-28T22:36:08.786Z] -rw-rw-r--. 1 jenkins jenkins 880 Oct 28 22:34 Jenkinsfile [2021-10-28T22:36:08.786Z] -rw-rw-r--. 1 jenkins jenkins 11341 Oct 28 22:34 LICENSE [2021-10-28T22:36:08.786Z] -rw-rw-r--. 1 jenkins jenkins 1120 Oct 28 22:34 Makefile [2021-10-28T22:36:08.786Z] drwxrwxr-x. 3 jenkins jenkins 16 Oct 28 22:34 openapi [2021-10-28T22:36:08.786Z] -rw-rw-r--. 1 jenkins jenkins 619 Oct 28 22:34 OWNERS.md [2021-10-28T22:36:08.786Z] drwxrwxr-x. 5 jenkins jenkins 50 Oct 28 22:34 pkg [2021-10-28T22:36:08.786Z] -rw-rw-r--. 1 jenkins jenkins 4877 Oct 28 22:34 README.md [2021-10-28T22:36:08.786Z] drwxrwxr-x. 4 jenkins jenkins 54 Oct 28 22:34 snap [2021-10-28T22:36:08.786Z] -rw-rw-r--. 1 jenkins jenkins 5 Oct 28 22:32 VERSION [2021-10-28T22:36:08.786Z] -rw-rw-r--. 1 jenkins jenkins 222 Oct 28 22:34 version.go [Pipeline] isUnix [Pipeline] sh [2021-10-28T22:36:09.097Z] + 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=2fe0b8f4787d5616329c621c4cd44b038ac925e1 --label arch=amd64 --label version=0.0.0 . [2021-10-28T22:36:09.097Z] Sending build context to Docker daemon 2.891MB [2021-10-28T22:36:09.097Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-10-28T22:36:09.097Z] Step 2/24 : FROM ${BASE} AS builder [2021-10-28T22:36:09.097Z] ---> f024e0012f87 [2021-10-28T22:36:09.097Z] Step 3/24 : ARG MAKE=make build [2021-10-28T22:36:09.097Z] ---> Running in e0831182db5c [2021-10-28T22:36:09.366Z] Removing intermediate container e0831182db5c [2021-10-28T22:36:09.366Z] ---> 3c94996528b2 [2021-10-28T22:36:09.366Z] Step 4/24 : WORKDIR /device-sdk-go [2021-10-28T22:36:09.366Z] ---> Running in bdf7a44bdfa2 [2021-10-28T22:36:09.366Z] Removing intermediate container bdf7a44bdfa2 [2021-10-28T22:36:09.366Z] ---> 063f65b87704 [2021-10-28T22:36:09.366Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-28T22:36:09.366Z] ---> Running in 1c9341cfce8f [2021-10-28T22:36:09.634Z] Removing intermediate container 1c9341cfce8f [2021-10-28T22:36:09.634Z] ---> d9ebbe800489 [2021-10-28T22:36:09.634Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-28T22:36:09.634Z] ---> Running in 23986d3b285b [2021-10-28T22:36:10.148Z] 7a9cfe048b4a: Pull complete [2021-10-28T22:36:10.210Z] Removing intermediate container 23986d3b285b [2021-10-28T22:36:10.210Z] ---> f6204f907265 [2021-10-28T22:36:10.210Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-10-28T22:36:10.210Z] ---> Running in d26fc95107f8 [2021-10-28T22:36:10.210Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-10-28T22:36:10.422Z] 72dc09318566: Pull complete [2021-10-28T22:36:10.696Z] f4f7b4309257: Pull complete [2021-10-28T22:36:10.968Z] 0ac9a79272e3: Pull complete [2021-10-28T22:36:11.150Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-10-28T22:36:11.722Z] OK: 220 MiB in 52 packages [2021-10-28T22:36:11.722Z] Removing intermediate container d26fc95107f8 [2021-10-28T22:36:11.722Z] ---> 8dbcec597f2e [2021-10-28T22:36:11.722Z] Step 8/24 : COPY . . [2021-10-28T22:36:12.299Z] ---> 46f8f467deb0 [2021-10-28T22:36:12.299Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-28T22:36:12.299Z] ---> Running in ec171cf0dea2 [2021-10-28T22:36:12.881Z] Removing intermediate container ec171cf0dea2 [2021-10-28T22:36:12.881Z] ---> 884ab78d2bd6 [2021-10-28T22:36:12.881Z] Step 10/24 : RUN ${MAKE} [2021-10-28T22:36:12.881Z] ---> Running in ca5134b95e6b [2021-10-28T22:36:12.881Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-10-28T22:36:17.676Z] b78e95d17946: Pull complete [2021-10-28T22:36:17.676Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2021-10-28T22:36:17.676Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-10-28T22:36:17.676Z] ---> 8b459fc5aaf0 [2021-10-28T22:36:17.676Z] Step 3/10 : ARG MAKE=make build [2021-10-28T22:36:19.121Z] ---> Running in 1c9b68f3006c [2021-10-28T22:36:19.729Z] Removing intermediate container 1c9b68f3006c [2021-10-28T22:36:19.729Z] ---> 3e6e27e7bc39 [2021-10-28T22:36:19.729Z] Step 4/10 : WORKDIR /device-sdk-go [2021-10-28T22:36:19.729Z] ---> Running in 7c81429c6731 [2021-10-28T22:36:20.002Z] Removing intermediate container 7c81429c6731 [2021-10-28T22:36:20.002Z] ---> 9b0b481fdd4f [2021-10-28T22:36:20.002Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-28T22:36:20.280Z] ---> Running in 8309c088259f [2021-10-28T22:36:20.556Z] Removing intermediate container 8309c088259f [2021-10-28T22:36:20.556Z] ---> 9658c328f66b [2021-10-28T22:36:20.556Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-28T22:36:20.829Z] ---> Running in 2e33798c3c8b [2021-10-28T22:36:22.811Z] Removing intermediate container 2e33798c3c8b [2021-10-28T22:36:22.811Z] ---> b0576f0a9eb5 [2021-10-28T22:36:22.811Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-10-28T22:36:23.083Z] ---> Running in 6c6628048d7a [2021-10-28T22:36:24.061Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-10-28T22:36:25.037Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-10-28T22:36:25.194Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-10-28T22:36:25.194Z] Removing intermediate container ca5134b95e6b [2021-10-28T22:36:25.194Z] ---> 1e0518a144fe [2021-10-28T22:36:25.194Z] Step 11/24 : FROM alpine:3.14 [2021-10-28T22:36:25.194Z] 3.14: Pulling from library/alpine [2021-10-28T22:36:25.194Z] a0d0a0d46f8b: Already exists [2021-10-28T22:36:25.194Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-10-28T22:36:25.194Z] Status: Downloaded newer image for alpine:3.14 [2021-10-28T22:36:25.194Z] ---> 14119a10abf4 [2021-10-28T22:36:25.194Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-28T22:36:25.458Z] ---> Running in bcb4996163af [2021-10-28T22:36:25.458Z] Removing intermediate container bcb4996163af [2021-10-28T22:36:25.458Z] ---> f606a0362783 [2021-10-28T22:36:25.458Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-28T22:36:25.458Z] ---> Running in e68e138142b1 [2021-10-28T22:36:26.011Z] OK: 219 MiB in 52 packages [2021-10-28T22:36:26.026Z] Removing intermediate container e68e138142b1 [2021-10-28T22:36:26.026Z] ---> 746b557c2438 [2021-10-28T22:36:26.026Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2021-10-28T22:36:26.026Z] ---> Running in 9c382ad45d4a [2021-10-28T22:36:26.286Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-10-28T22:36:27.007Z] Removing intermediate container 6c6628048d7a [2021-10-28T22:36:27.007Z] ---> 9c6e8cbaa4b6 [2021-10-28T22:36:27.007Z] Step 8/10 : COPY . . [2021-10-28T22:36:27.226Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-10-28T22:36:27.486Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2021-10-28T22:36:27.486Z] (2/5) Installing libsodium (1.0.18-r0) [2021-10-28T22:36:27.747Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2021-10-28T22:36:27.747Z] (4/5) Installing libzmq (4.3.4-r0) [2021-10-28T22:36:27.747Z] (5/5) Installing zeromq (4.3.4-r0) [2021-10-28T22:36:28.011Z] Executing busybox-1.33.1-r3.trigger [2021-10-28T22:36:28.011Z] OK: 8 MiB in 19 packages [2021-10-28T22:36:28.282Z] Removing intermediate container 9c382ad45d4a [2021-10-28T22:36:28.282Z] ---> 9cf6ae062748 [2021-10-28T22:36:28.282Z] Step 15/24 : WORKDIR / [2021-10-28T22:36:28.282Z] ---> Running in b4670c3b59df [2021-10-28T22:36:28.282Z] Removing intermediate container b4670c3b59df [2021-10-28T22:36:28.282Z] ---> 17cd67a8c61d [2021-10-28T22:36:28.282Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-10-28T22:36:28.450Z] ---> 57dc0b15c3e5 [2021-10-28T22:36:28.450Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-28T22:36:28.450Z] ---> Running in 2024dc846873 [2021-10-28T22:36:28.545Z] ---> 0e47e2ed46e2 [2021-10-28T22:36:28.545Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-10-28T22:36:28.805Z] ---> 36e11ce69870 [2021-10-28T22:36:28.805Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-10-28T22:36:28.805Z] ---> b491767695c8 [2021-10-28T22:36:28.805Z] Step 19/24 : EXPOSE 59999 [2021-10-28T22:36:29.067Z] ---> Running in 2ec1b890c2a5 [2021-10-28T22:36:29.067Z] Removing intermediate container 2ec1b890c2a5 [2021-10-28T22:36:29.067Z] ---> ad92a44531ef [2021-10-28T22:36:29.067Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2021-10-28T22:36:29.067Z] ---> Running in fbe98f3d40a6 [2021-10-28T22:36:29.067Z] Removing intermediate container fbe98f3d40a6 [2021-10-28T22:36:29.067Z] ---> c4826a0ef510 [2021-10-28T22:36:29.067Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-10-28T22:36:29.067Z] ---> Running in 0eb6e7503db4 [2021-10-28T22:36:29.335Z] Removing intermediate container 0eb6e7503db4 [2021-10-28T22:36:29.335Z] ---> f4b44e01bf10 [2021-10-28T22:36:29.335Z] Step 22/24 : LABEL arch=amd64 [2021-10-28T22:36:29.335Z] ---> Running in 3a3852a5c503 [2021-10-28T22:36:29.335Z] Removing intermediate container 3a3852a5c503 [2021-10-28T22:36:29.335Z] ---> a624970df6fd [2021-10-28T22:36:29.335Z] Step 23/24 : LABEL git_sha=2fe0b8f4787d5616329c621c4cd44b038ac925e1 [2021-10-28T22:36:29.335Z] ---> Running in 87ca84347241 [2021-10-28T22:36:29.335Z] Removing intermediate container 87ca84347241 [2021-10-28T22:36:29.335Z] ---> b0b272d1048d [2021-10-28T22:36:29.335Z] Step 24/24 : LABEL version=0.0.0 [2021-10-28T22:36:29.335Z] ---> Running in 0cefb1fffb79 [2021-10-28T22:36:29.595Z] Removing intermediate container 0cefb1fffb79 [2021-10-28T22:36:29.595Z] ---> e2a1825f00b5 [2021-10-28T22:36:29.595Z] [Warning] One or more build-args [ARCH] were not consumed [2021-10-28T22:36:29.595Z] Successfully built e2a1825f00b5 [2021-10-28T22:36:29.595Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-28T22:36:30.201Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-28T22:36:30.201Z] [2021-10-28T22:36:30.201Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-28T22:36:30.501Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-28T22:36:30.502Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-28T22:36:30.502Z] b4d181a07f80: Pulling fs layer [2021-10-28T22:36:30.502Z] a1111a8f2ec3: Pulling fs layer [2021-10-28T22:36:30.502Z] ed53099fbce6: Pulling fs layer [2021-10-28T22:36:30.502Z] dc539afda2c1: Pulling fs layer [2021-10-28T22:36:30.502Z] 77bc0d833cb6: Pulling fs layer [2021-10-28T22:36:30.502Z] 9065ff56babe: Pulling fs layer [2021-10-28T22:36:30.502Z] d287ab97295c: Pulling fs layer [2021-10-28T22:36:30.502Z] 77bc0d833cb6: Waiting [2021-10-28T22:36:30.502Z] 9065ff56babe: Waiting [2021-10-28T22:36:30.502Z] d287ab97295c: Waiting [2021-10-28T22:36:30.502Z] dc539afda2c1: Waiting [2021-10-28T22:36:30.502Z] a1111a8f2ec3: Verifying Checksum [2021-10-28T22:36:30.502Z] a1111a8f2ec3: Download complete [2021-10-28T22:36:30.502Z] dc539afda2c1: Verifying Checksum [2021-10-28T22:36:30.502Z] dc539afda2c1: Download complete [2021-10-28T22:36:30.502Z] ed53099fbce6: Verifying Checksum [2021-10-28T22:36:30.502Z] ed53099fbce6: Download complete [2021-10-28T22:36:30.502Z] 77bc0d833cb6: Verifying Checksum [2021-10-28T22:36:30.502Z] 77bc0d833cb6: Download complete [2021-10-28T22:36:30.502Z] 9065ff56babe: Verifying Checksum [2021-10-28T22:36:30.502Z] 9065ff56babe: Download complete [2021-10-28T22:36:30.762Z] b4d181a07f80: Verifying Checksum [2021-10-28T22:36:30.762Z] b4d181a07f80: Download complete [2021-10-28T22:36:31.343Z] d287ab97295c: Verifying Checksum [2021-10-28T22:36:31.343Z] d287ab97295c: Download complete [2021-10-28T22:36:32.292Z] b4d181a07f80: Pull complete [2021-10-28T22:36:32.292Z] a1111a8f2ec3: Pull complete [2021-10-28T22:36:32.877Z] ed53099fbce6: Pull complete [2021-10-28T22:36:32.877Z] dc539afda2c1: Pull complete [2021-10-28T22:36:33.138Z] 77bc0d833cb6: Pull complete [2021-10-28T22:36:33.405Z] 9065ff56babe: Pull complete [2021-10-28T22:36:38.708Z] d287ab97295c: Pull complete [2021-10-28T22:36:38.708Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-28T22:36:38.708Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-28T22:36:38.708Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-28T22:36:38.781Z] prd-centos7-docker-4c-2g-13312 does not seem to be running inside a container [2021-10-28T22:36:38.820Z] $ 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/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-10-28T22:36:41.329Z] $ docker top a4b60a6cb1c9f5c856f8ea45fad8b3eab9db65b53b6edba0f3cc2bc7a31c9a67 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-28T22:36:41.748Z] ---> job-cost.sh [2021-10-28T22:36:41.748Z] lf-activate-venv: SKIPPING [2021-10-28T22:36:41.748Z] INFO: No Stack... [2021-10-28T22:36:42.010Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-28T22:36:42.272Z] INFO: Archiving Costs [Pipeline] sh [2021-10-28T22:36:42.570Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2021-10-28T22:36:42.570Z] + cut -d, -f6 [Pipeline] lock [2021-10-28T22:36:42.601Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1049-2-stack-cost] [2021-10-28T22:36:42.608Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1049-2-stack-cost] did not exist. Created. [2021-10-28T22:36:42.608Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1049-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-28T22:36:42.918Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-10-28T22:36:42.970Z] Stashed 1 file(s) [Pipeline] } [2021-10-28T22:36:42.976Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1049-2-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-28T22:36:42.993Z] $ docker stop --time=1 a4b60a6cb1c9f5c856f8ea45fad8b3eab9db65b53b6edba0f3cc2bc7a31c9a67 [2021-10-28T22:36:44.150Z] $ docker rm -f a4b60a6cb1c9f5c856f8ea45fad8b3eab9db65b53b6edba0f3cc2bc7a31c9a67 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-10-28T22:37:50.236Z] Removing intermediate container 2024dc846873 [2021-10-28T22:37:50.236Z] ---> 1cd3ad8636e2 [2021-10-28T22:37:50.236Z] Step 10/10 : RUN ${MAKE} [2021-10-28T22:37:50.236Z] ---> Running in b93907519cff [2021-10-28T22:37:50.236Z] noop [2021-10-28T22:37:50.236Z] Removing intermediate container b93907519cff [2021-10-28T22:37:50.236Z] ---> 601d46b28f6e [2021-10-28T22:37:50.236Z] Successfully built 601d46b28f6e [2021-10-28T22:37:50.236Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-10-28T22:37:50.582Z] + docker inspect -f . ci-base-image-arm64 [2021-10-28T22:37:50.582Z] . [Pipeline] withDockerContainer [2021-10-28T22:37:50.833Z] prd-ubuntu18.04-docker-arm64-4c-16g-13311 does not seem to be running inside a container [2021-10-28T22:37:50.922Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 ******** -e ******** ci-base-image-arm64 cat [2021-10-28T22:37:52.355Z] $ docker top 7a71b3b63145b95c11b0821f2a087c9f97ff50dba6e5574d73bd4c28385da3b4 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-28T22:37:53.290Z] + go version [2021-10-28T22:37:53.290Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-10-28T22:37:53.324Z] $ docker stop --time=1 7a71b3b63145b95c11b0821f2a087c9f97ff50dba6e5574d73bd4c28385da3b4 [2021-10-28T22:37:55.079Z] $ docker rm -f 7a71b3b63145b95c11b0821f2a087c9f97ff50dba6e5574d73bd4c28385da3b4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-28T22:37:55.760Z] + docker inspect -f . ci-base-image-arm64 [2021-10-28T22:37:55.760Z] . [Pipeline] withDockerContainer [2021-10-28T22:37:56.006Z] prd-ubuntu18.04-docker-arm64-4c-16g-13311 does not seem to be running inside a container [2021-10-28T22:37:56.091Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 ******** -e ******** ci-base-image-arm64 cat [2021-10-28T22:37:57.562Z] $ docker top 81cf37796806dac6e7b4ba9e9e921e00fe1949c861ebecc9ac3cb75208e19835 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-10-28T22:37:58.499Z] + make test [2021-10-28T22:37:58.499Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-10-28T22:38:20.699Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-10-28T22:39:28.777Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-10-28T22:39:28.777Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-10-28T22:39:28.777Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-10-28T22:39:34.198Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.432s coverage: 23.8% of statements [2021-10-28T22:39:34.198Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-10-28T22:39:34.198Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.201s coverage: 28.1% of statements [2021-10-28T22:39:34.198Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.217s coverage: 78.9% of statements [2021-10-28T22:39:34.198Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.299s coverage: 9.0% of statements [2021-10-28T22:39:34.198Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-10-28T22:39:34.198Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-10-28T22:39:34.198Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-10-28T22:39:35.188Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.308s coverage: 28.7% of statements [2021-10-28T22:39:35.188Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-10-28T22:39:37.824Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.235s coverage: 83.3% of statements [2021-10-28T22:39:37.824Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-10-28T22:39:37.824Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-10-28T22:39:37.824Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.402s coverage: 57.8% of statements [2021-10-28T22:39:39.800Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.131s coverage: 88.8% of statements [2021-10-28T22:39:39.800Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-10-28T22:39:39.800Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.190s coverage: 4.9% of statements [2021-10-28T22:39:39.800Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-10-28T22:39:40.396Z] GO111MODULE=on go vet ./... [2021-10-28T22:40:36.976Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-10-28T22:40:36.976Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-10-28T22:40:36.976Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-10-28T22:40:37.008Z] $ docker stop --time=1 81cf37796806dac6e7b4ba9e9e921e00fe1949c861ebecc9ac3cb75208e19835 [2021-10-28T22:40:39.019Z] $ docker rm -f 81cf37796806dac6e7b4ba9e9e921e00fe1949c861ebecc9ac3cb75208e19835 [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-28T22:40:40.095Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-10-28T22:40:40.121Z] Warning: overwriting stash ‘coverage-report’ [2021-10-28T22:40:40.721Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-10-28T22:40:41.179Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-10-28T22:40:41.511Z] + ls -al . [2021-10-28T22:40:41.511Z] total 300 [2021-10-28T22:40:41.511Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 28 22:40 . [2021-10-28T22:40:41.511Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 28 22:35 .. [2021-10-28T22:40:41.511Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 28 22:35 .dockerignore [2021-10-28T22:40:41.511Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 28 22:35 .git [2021-10-28T22:40:41.511Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 28 22:35 .github [2021-10-28T22:40:41.511Z] -rw-rw-r-- 1 jenkins jenkins 131 Oct 28 22:35 .gitignore [2021-10-28T22:40:41.511Z] -rw-rw-r-- 1 jenkins jenkins 24816 Oct 28 22:35 CHANGELOG.md [2021-10-28T22:40:41.511Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 28 22:35 GOVERNANCE.md [2021-10-28T22:40:41.511Z] -rw-rw-r-- 1 jenkins jenkins 880 Oct 28 22:35 Jenkinsfile [2021-10-28T22:40:41.511Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 28 22:35 LICENSE [2021-10-28T22:40:41.511Z] -rw-rw-r-- 1 jenkins jenkins 1120 Oct 28 22:35 Makefile [2021-10-28T22:40:41.511Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 28 22:35 OWNERS.md [2021-10-28T22:40:41.511Z] -rw-rw-r-- 1 jenkins jenkins 4877 Oct 28 22:35 README.md [2021-10-28T22:40:41.511Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 28 22:32 VERSION [2021-10-28T22:40:41.511Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 28 22:35 bin [2021-10-28T22:40:41.511Z] -rw-r--r-- 1 jenkins jenkins 126785 Oct 28 22:39 coverage.out [2021-10-28T22:40:41.511Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 28 22:35 example [2021-10-28T22:40:41.511Z] -rw-rw-r-- 1 jenkins jenkins 602 Oct 28 22:35 go.mod [2021-10-28T22:40:41.511Z] -rw-rw-r-- 1 jenkins jenkins 50012 Oct 28 22:35 go.sum [2021-10-28T22:40:41.511Z] drwxrwxr-x 15 jenkins jenkins 4096 Oct 28 22:35 internal [2021-10-28T22:40:41.511Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 28 22:35 openapi [2021-10-28T22:40:41.511Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 28 22:35 pkg [2021-10-28T22:40:41.511Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 28 22:35 snap [2021-10-28T22:40:41.511Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 28 22:35 version.go [Pipeline] isUnix [Pipeline] sh [2021-10-28T22:40:41.852Z] + 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=2fe0b8f4787d5616329c621c4cd44b038ac925e1 --label arch=arm64 --label version=0.0.0 . [2021-10-28T22:40:42.451Z] Sending build context to Docker daemon 2.899MB [2021-10-28T22:40:42.451Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-10-28T22:40:42.451Z] Step 2/24 : FROM ${BASE} AS builder [2021-10-28T22:40:42.451Z] ---> 601d46b28f6e [2021-10-28T22:40:42.451Z] Step 3/24 : ARG MAKE=make build [2021-10-28T22:40:42.724Z] ---> Running in 6333caa07303 [2021-10-28T22:40:42.997Z] Removing intermediate container 6333caa07303 [2021-10-28T22:40:42.997Z] ---> b88f88b70d46 [2021-10-28T22:40:42.997Z] Step 4/24 : WORKDIR /device-sdk-go [2021-10-28T22:40:42.997Z] ---> Running in 7971e0c3d7bf [2021-10-28T22:40:43.600Z] Removing intermediate container 7971e0c3d7bf [2021-10-28T22:40:43.600Z] ---> ad985362e650 [2021-10-28T22:40:43.600Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-28T22:40:43.874Z] ---> Running in e6d17172b9b7 [2021-10-28T22:40:44.147Z] Removing intermediate container e6d17172b9b7 [2021-10-28T22:40:44.147Z] ---> b2293a507c90 [2021-10-28T22:40:44.147Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-28T22:40:44.422Z] ---> Running in 277b9b8cad66 [2021-10-28T22:40:46.399Z] Removing intermediate container 277b9b8cad66 [2021-10-28T22:40:46.399Z] ---> 9493210cf115 [2021-10-28T22:40:46.399Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-10-28T22:40:46.399Z] ---> Running in c1cd4193473b [2021-10-28T22:40:47.832Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-10-28T22:40:48.806Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-10-28T22:40:49.403Z] OK: 219 MiB in 52 packages [2021-10-28T22:40:50.382Z] Removing intermediate container c1cd4193473b [2021-10-28T22:40:50.382Z] ---> efbe1f7547b2 [2021-10-28T22:40:50.382Z] Step 8/24 : COPY . . [2021-10-28T22:40:51.814Z] ---> abc8189673c5 [2021-10-28T22:40:51.814Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-28T22:40:51.814Z] ---> Running in d86e61f6b9ce [2021-10-28T22:40:54.434Z] Removing intermediate container d86e61f6b9ce [2021-10-28T22:40:54.434Z] ---> 45cf1d46937d [2021-10-28T22:40:54.434Z] Step 10/24 : RUN ${MAKE} [2021-10-28T22:40:54.434Z] ---> Running in a1d98c7cfb61 [2021-10-28T22:40:55.416Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-10-28T22:41:27.785Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-10-28T22:41:29.766Z] Removing intermediate container a1d98c7cfb61 [2021-10-28T22:41:29.766Z] ---> 1526e2847d5c [2021-10-28T22:41:29.766Z] Step 11/24 : FROM alpine:3.14 [2021-10-28T22:41:30.741Z] 3.14: Pulling from library/alpine [2021-10-28T22:41:30.741Z] 552d1f2373af: Already exists [2021-10-28T22:41:31.016Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-10-28T22:41:31.016Z] Status: Downloaded newer image for alpine:3.14 [2021-10-28T22:41:31.016Z] ---> bb3de5531c18 [2021-10-28T22:41:31.016Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-28T22:41:31.016Z] ---> Running in fb8a86f61618 [2021-10-28T22:41:31.615Z] Removing intermediate container fb8a86f61618 [2021-10-28T22:41:31.615Z] ---> 5479bb53fe5e [2021-10-28T22:41:31.615Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-28T22:41:31.615Z] ---> Running in c150b31a4145 [2021-10-28T22:41:33.591Z] Removing intermediate container c150b31a4145 [2021-10-28T22:41:33.591Z] ---> 242685f2a2fe [2021-10-28T22:41:33.591Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2021-10-28T22:41:33.873Z] ---> Running in ce7f7ef9f2c2 [2021-10-28T22:41:35.324Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-10-28T22:41:35.914Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-10-28T22:41:36.891Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2021-10-28T22:41:36.891Z] (2/5) Installing libsodium (1.0.18-r0) [2021-10-28T22:41:36.891Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2021-10-28T22:41:37.164Z] (4/5) Installing libzmq (4.3.4-r0) [2021-10-28T22:41:37.164Z] (5/5) Installing zeromq (4.3.4-r0) [2021-10-28T22:41:37.164Z] Executing busybox-1.33.1-r3.trigger [2021-10-28T22:41:37.438Z] OK: 8 MiB in 19 packages [2021-10-28T22:41:38.424Z] Removing intermediate container ce7f7ef9f2c2 [2021-10-28T22:41:38.424Z] ---> 8dff999c3774 [2021-10-28T22:41:38.424Z] Step 15/24 : WORKDIR / [2021-10-28T22:41:38.424Z] ---> Running in e9bf09ca3b32 [2021-10-28T22:41:39.022Z] Removing intermediate container e9bf09ca3b32 [2021-10-28T22:41:39.022Z] ---> a4c1a41a1fd0 [2021-10-28T22:41:39.022Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-10-28T22:41:39.625Z] ---> b14d8e2139d7 [2021-10-28T22:41:39.625Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-10-28T22:41:41.057Z] ---> 44ef835618f2 [2021-10-28T22:41:41.057Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-10-28T22:41:41.652Z] ---> be7b856ffa91 [2021-10-28T22:41:41.652Z] Step 19/24 : EXPOSE 59999 [2021-10-28T22:41:41.652Z] ---> Running in 56f53b943312 [2021-10-28T22:41:42.248Z] Removing intermediate container 56f53b943312 [2021-10-28T22:41:42.248Z] ---> 2fb2cdb747a2 [2021-10-28T22:41:42.248Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2021-10-28T22:41:42.248Z] ---> Running in 16bc0815da32 [2021-10-28T22:41:42.845Z] Removing intermediate container 16bc0815da32 [2021-10-28T22:41:42.845Z] ---> d23892a86c05 [2021-10-28T22:41:42.845Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-10-28T22:41:42.845Z] ---> Running in 8126566640fb [2021-10-28T22:41:43.440Z] Removing intermediate container 8126566640fb [2021-10-28T22:41:43.440Z] ---> 8ed90ac539c6 [2021-10-28T22:41:43.440Z] Step 22/24 : LABEL arch=arm64 [2021-10-28T22:41:43.440Z] ---> Running in c32216cef34b [2021-10-28T22:41:43.714Z] Removing intermediate container c32216cef34b [2021-10-28T22:41:43.714Z] ---> b3948865ad0a [2021-10-28T22:41:43.714Z] Step 23/24 : LABEL git_sha=2fe0b8f4787d5616329c621c4cd44b038ac925e1 [2021-10-28T22:41:43.989Z] ---> Running in c70e0d947864 [2021-10-28T22:41:44.589Z] Removing intermediate container c70e0d947864 [2021-10-28T22:41:44.589Z] ---> 3969649fd5a2 [2021-10-28T22:41:44.589Z] Step 24/24 : LABEL version=0.0.0 [2021-10-28T22:41:44.589Z] ---> Running in bf0e0d523eef [2021-10-28T22:41:45.187Z] Removing intermediate container bf0e0d523eef [2021-10-28T22:41:45.187Z] ---> 15003b9b062b [2021-10-28T22:41:45.187Z] [Warning] One or more build-args [ARCH] were not consumed [2021-10-28T22:41:45.187Z] Successfully built 15003b9b062b [2021-10-28T22:41:45.187Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-28T22:41:45.705Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-28T22:41:45.976Z] [2021-10-28T22:41:45.976Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-10-28T22:41:46.323Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-28T22:41:46.599Z] arm64: Pulling from edgex-lftools-log-publisher [2021-10-28T22:41:46.599Z] 448f6bf000e3: Pulling fs layer [2021-10-28T22:41:46.599Z] f757da607395: Pulling fs layer [2021-10-28T22:41:46.599Z] 05883995daec: Pulling fs layer [2021-10-28T22:41:46.599Z] 8603b9c90790: Pulling fs layer [2021-10-28T22:41:46.599Z] 1560dd03e051: Pulling fs layer [2021-10-28T22:41:46.599Z] 27f5ce0e4adf: Pulling fs layer [2021-10-28T22:41:46.599Z] c2d8d7efcc4b: Pulling fs layer [2021-10-28T22:41:46.599Z] 27f5ce0e4adf: Waiting [2021-10-28T22:41:46.599Z] 8603b9c90790: Waiting [2021-10-28T22:41:46.599Z] 1560dd03e051: Waiting [2021-10-28T22:41:46.599Z] c2d8d7efcc4b: Waiting [2021-10-28T22:41:46.599Z] f757da607395: Verifying Checksum [2021-10-28T22:41:46.599Z] f757da607395: Download complete [2021-10-28T22:41:46.599Z] 8603b9c90790: Verifying Checksum [2021-10-28T22:41:46.599Z] 8603b9c90790: Download complete [2021-10-28T22:41:46.874Z] 1560dd03e051: Verifying Checksum [2021-10-28T22:41:46.874Z] 1560dd03e051: Download complete [2021-10-28T22:41:46.874Z] 27f5ce0e4adf: Verifying Checksum [2021-10-28T22:41:46.874Z] 27f5ce0e4adf: Download complete [2021-10-28T22:41:46.874Z] 05883995daec: Verifying Checksum [2021-10-28T22:41:46.874Z] 05883995daec: Download complete [2021-10-28T22:41:47.149Z] 448f6bf000e3: Verifying Checksum [2021-10-28T22:41:47.150Z] 448f6bf000e3: Download complete [2021-10-28T22:41:49.780Z] c2d8d7efcc4b: Verifying Checksum [2021-10-28T22:41:49.780Z] c2d8d7efcc4b: Download complete [2021-10-28T22:41:50.762Z] 448f6bf000e3: Pull complete [2021-10-28T22:41:51.368Z] f757da607395: Pull complete [2021-10-28T22:41:52.807Z] 05883995daec: Pull complete [2021-10-28T22:41:53.084Z] 8603b9c90790: Pull complete [2021-10-28T22:41:54.073Z] 1560dd03e051: Pull complete [2021-10-28T22:41:54.349Z] 27f5ce0e4adf: Pull complete [2021-10-28T22:42:09.440Z] c2d8d7efcc4b: Pull complete [2021-10-28T22:42:09.440Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-10-28T22:42:09.440Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-28T22:42:09.440Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-10-28T22:42:09.684Z] prd-ubuntu18.04-docker-arm64-4c-16g-13311 does not seem to be running inside a container [2021-10-28T22:42:09.777Z] $ 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/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-10-28T22:42:12.636Z] $ docker top 713e828accc578823c99aa424882c4eeedd92672bd1a14fb1fa6f75b93074cc5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-28T22:42:13.558Z] ---> job-cost.sh [2021-10-28T22:42:13.558Z] lf-activate-venv: SKIPPING [2021-10-28T22:42:13.558Z] INFO: No Stack... [2021-10-28T22:42:13.831Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-10-28T22:42:14.427Z] INFO: Archiving Costs [Pipeline] sh [2021-10-28T22:42:15.088Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2021-10-28T22:42:15.088Z] + cut -d, -f6 [Pipeline] lock [2021-10-28T22:42:15.146Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1049-2-stack-cost] [2021-10-28T22:42:15.154Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1049-2-stack-cost] did not exist. Created. [2021-10-28T22:42:15.154Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1049-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-28T22:42:15.832Z] /w/workspace/device-sdk-go/2@tmp/durable-40772455/script.sh: 1: /w/workspace/device-sdk-go/2@tmp/durable-40772455/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-10-28T22:42:16.496Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-10-28T22:42:16.524Z] Warning: overwriting stash ‘stack-cost’ [2021-10-28T22:42:16.585Z] Stashed 1 file(s) [Pipeline] } [2021-10-28T22:42:16.593Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1049-2-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-28T22:42:16.621Z] $ docker stop --time=1 713e828accc578823c99aa424882c4eeedd92672bd1a14fb1fa6f75b93074cc5 [2021-10-28T22:42:18.230Z] $ docker rm -f 713e828accc578823c99aa424882c4eeedd92672bd1a14fb1fa6f75b93074cc5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2021-10-28T22:42:19.001Z] provisioning config files... [2021-10-28T22:42:19.042Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1049@tmp/config2829628989163485837tmp [Pipeline] { [Pipeline] sh [2021-10-28T22:42:19.362Z] + set +x [2021-10-28T22:42:19.362Z] + bash -s -- [2021-10-28T22:42:19.362Z] + curl -s https://codecov.io/bash [2021-10-28T22:42:19.362Z] [2021-10-28T22:42:19.362Z] _____ _ [2021-10-28T22:42:19.362Z] / ____| | | [2021-10-28T22:42:19.362Z] | | ___ __| | ___ ___ _____ __ [2021-10-28T22:42:19.362Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-10-28T22:42:19.362Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-10-28T22:42:19.362Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-10-28T22:42:19.362Z] Bash-1.0.6 [2021-10-28T22:42:19.362Z] [2021-10-28T22:42:19.362Z] [2021-10-28T22:42:19.362Z] ==> git version 2.24.4 found [2021-10-28T22:42:19.362Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-10-28T22:42:19.362Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-10-28T22:42:19.362Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-10-28T22:42:19.362Z] ==> Jenkins CI detected. [2021-10-28T22:42:19.362Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1049 [2021-10-28T22:42:19.362Z] project root: . [2021-10-28T22:42:19.362Z] --> token set from env [2021-10-28T22:42:19.362Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-10-28T22:42:19.623Z] ==> Running gcov in . (disable via -X gcov) [2021-10-28T22:42:19.623Z] ==> Python coveragepy not found [2021-10-28T22:42:19.623Z] ==> Searching for coverage reports in: [2021-10-28T22:42:19.623Z] + . [2021-10-28T22:42:19.623Z] -> Found 1 reports [2021-10-28T22:42:19.623Z] ==> Detecting git/mercurial file structure [2021-10-28T22:42:19.623Z] ==> Reading reports [2021-10-28T22:42:19.623Z] + ./coverage.out bytes=126785 [2021-10-28T22:42:19.623Z] ==> Appending adjustments [2021-10-28T22:42:19.623Z] https://docs.codecov.io/docs/fixing-reports [2021-10-28T22:42:19.888Z] + Found adjustments [2021-10-28T22:42:19.888Z] ==> Gzipping contents [2021-10-28T22:42:19.888Z] 16K /tmp/codecov.njhCW6.gz [2021-10-28T22:42:19.888Z] ==> Uploading reports [2021-10-28T22:42:19.888Z] url: https://codecov.io [2021-10-28T22:42:19.888Z] query: branch=PR-1049&commit=2fe0b8f4787d5616329c621c4cd44b038ac925e1&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1049%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1049&job=&cmd_args= [2021-10-28T22:42:19.888Z] -> Pinging Codecov [2021-10-28T22:42:19.888Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1049&commit=2fe0b8f4787d5616329c621c4cd44b038ac925e1&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1049%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1049&job=&cmd_args= [2021-10-28T22:42:20.150Z] -> Uploading to [2021-10-28T22:42:20.150Z] https://storage.googleapis.com/codecov/v4/raw/2021-10-28/7E55EF52A471D76F132DFD9A03CDDE97/2fe0b8f4787d5616329c621c4cd44b038ac925e1/1765691c-4527-43de-9fe2-e1b2f490433c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211028%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211028T224220Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c7e239dcb52d1fe3bf0765c4968c550fc21869ba94e2b4ab27a827c624a285a1 [2021-10-28T22:42:20.150Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-10-28T22:42:20.150Z] Dload Upload Total Spent Left Speed [2021-10-28T22:42:20.724Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16202 0 0 100 16202 0 49145 --:--:-- --:--:-- --:--:-- 49096 100 16202 0 0 100 16202 0 49121 --:--:-- --:--:-- --:--:-- 49096 [2021-10-28T22:42:20.724Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/2fe0b8f4787d5616329c621c4cd44b038ac925e1 [Pipeline] } [2021-10-28T22:42:20.733Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2021-10-28T22:42:21.949Z] + '[' -d /w/workspace/gexfoundry_device-sdk-go_PR-1049/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-10-28T22:42:22.271Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-28T22:42:22.835Z] ---> package-listing.sh [2021-10-28T22:42:22.835Z] ++ tr '[:upper:]' '[:lower:]' [2021-10-28T22:42:22.835Z] ++ facter osfamily [2021-10-28T22:42:23.098Z] + OS_FAMILY=redhat [2021-10-28T22:42:23.098Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1049 [2021-10-28T22:42:23.098Z] + START_PACKAGES=/tmp/packages_start.txt [2021-10-28T22:42:23.098Z] + END_PACKAGES=/tmp/packages_end.txt [2021-10-28T22:42:23.098Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-10-28T22:42:23.098Z] + PACKAGES=/tmp/packages_start.txt [2021-10-28T22:42:23.098Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1049 ']' [2021-10-28T22:42:23.098Z] + PACKAGES=/tmp/packages_end.txt [2021-10-28T22:42:23.098Z] + case "${OS_FAMILY}" in [2021-10-28T22:42:23.098Z] + rpm -qa [2021-10-28T22:42:23.098Z] + sort [2021-10-28T22:42:23.672Z] + '[' -f /tmp/packages_start.txt ']' [2021-10-28T22:42:23.672Z] + '[' -f /tmp/packages_end.txt ']' [2021-10-28T22:42:23.672Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-10-28T22:42:23.672Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1049 ']' [2021-10-28T22:42:23.672Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1049/archives/ [2021-10-28T22:42:23.672Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1049/archives/ [Pipeline] echo [2021-10-28T22:42:23.687Z] 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-1049/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-10-28T22:42:23.972Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-10-28T22:42:24.554Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-28T22:42:24.554Z] [2021-10-28T22:42:24.554Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-28T22:42:24.865Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-28T22:42:24.865Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-28T22:42:24.865Z] b4d181a07f80: Pulling fs layer [2021-10-28T22:42:24.865Z] a1111a8f2ec3: Pulling fs layer [2021-10-28T22:42:24.865Z] ed53099fbce6: Pulling fs layer [2021-10-28T22:42:24.865Z] dc539afda2c1: Pulling fs layer [2021-10-28T22:42:24.865Z] 77bc0d833cb6: Pulling fs layer [2021-10-28T22:42:24.865Z] 9065ff56babe: Pulling fs layer [2021-10-28T22:42:24.865Z] d287ab97295c: Pulling fs layer [2021-10-28T22:42:24.865Z] dc539afda2c1: Waiting [2021-10-28T22:42:24.865Z] 77bc0d833cb6: Waiting [2021-10-28T22:42:24.865Z] 9065ff56babe: Waiting [2021-10-28T22:42:24.865Z] d287ab97295c: Waiting [2021-10-28T22:42:24.865Z] a1111a8f2ec3: Verifying Checksum [2021-10-28T22:42:24.865Z] a1111a8f2ec3: Download complete [2021-10-28T22:42:24.865Z] dc539afda2c1: Verifying Checksum [2021-10-28T22:42:24.865Z] dc539afda2c1: Download complete [2021-10-28T22:42:24.865Z] ed53099fbce6: Verifying Checksum [2021-10-28T22:42:24.865Z] ed53099fbce6: Download complete [2021-10-28T22:42:24.865Z] 9065ff56babe: Verifying Checksum [2021-10-28T22:42:24.865Z] 9065ff56babe: Download complete [2021-10-28T22:42:25.134Z] 77bc0d833cb6: Verifying Checksum [2021-10-28T22:42:25.135Z] 77bc0d833cb6: Download complete [2021-10-28T22:42:25.135Z] b4d181a07f80: Verifying Checksum [2021-10-28T22:42:25.135Z] b4d181a07f80: Download complete [2021-10-28T22:42:25.721Z] d287ab97295c: Verifying Checksum [2021-10-28T22:42:25.721Z] d287ab97295c: Download complete [2021-10-28T22:42:26.674Z] b4d181a07f80: Pull complete [2021-10-28T22:42:26.940Z] a1111a8f2ec3: Pull complete [2021-10-28T22:42:27.203Z] ed53099fbce6: Pull complete [2021-10-28T22:42:27.469Z] dc539afda2c1: Pull complete [2021-10-28T22:42:27.735Z] 77bc0d833cb6: Pull complete [2021-10-28T22:42:27.735Z] 9065ff56babe: Pull complete [2021-10-28T22:42:33.079Z] d287ab97295c: Pull complete [2021-10-28T22:42:33.079Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-28T22:42:33.079Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-28T22:42:33.079Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-28T22:42:33.141Z] prd-centos7-docker-4c-2g-13309 does not seem to be running inside a container [2021-10-28T22:42:33.175Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sa:/var/log/sa-host -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-sdk-go_PR-1049/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-1049 -v /w/workspace/gexfoundry_device-sdk-go_PR-1049:/w/workspace/gexfoundry_device-sdk-go_PR-1049:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1049@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1049@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-10-28T22:42:37.638Z] $ docker top ae4f74974eb31c6c32bc066ec921a5471ed0001aa04f051bb15926f8515ecc5d -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-28T22:42:37.997Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-10-28T22:42:38.292Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-10-28T22:42:38.587Z] + ls /var/log/sa-host [2021-10-28T22:42:38.587Z] + sadf -c /var/log/sa-host/sa28 [2021-10-28T22:42:38.587Z] file_magic: OK [2021-10-28T22:42:38.587Z] HZ: Using current value: 100 [2021-10-28T22:42:38.587Z] file_header: OK [2021-10-28T22:42:38.587Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-10-28T22:42:38.587Z] Statistics: [2021-10-28T22:42:38.587Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-28T22:42:38.587Z] File successfully converted to sysstat format version 12.0.3 [2021-10-28T22:42:38.587Z] + sadf -c /var/log/sa-host/sa30 [2021-10-28T22:42:38.587Z] file_magic: OK [2021-10-28T22:42:38.587Z] HZ: Using current value: 100 [2021-10-28T22:42:38.587Z] file_header: OK [2021-10-28T22:42:38.587Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-10-28T22:42:38.587Z] Statistics: [2021-10-28T22:42:38.587Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-28T22:42:38.587Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-28T22:42:38.827Z] provisioning config files... [2021-10-28T22:42:38.838Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1049@tmp/config2830250291425779832tmp [Pipeline] { [Pipeline] echo [2021-10-28T22:42:38.854Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-28T22:42:39.162Z] ---> create-netrc.sh [Pipeline] } [2021-10-28T22:42:39.177Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-10-28T22:42:39.539Z] ---> python-tools-install.sh [Pipeline] echo [2021-10-28T22:42:39.548Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-28T22:42:39.842Z] ---> sudo-logs.sh [2021-10-28T22:42:39.842Z] Archiving 'sudo' log.. [2021-10-28T22:42:39.842Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-13309.novalocal: Name or service not known [2021-10-28T22:42:39.842Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-13309.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-10-28T22:42:39.865Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-28T22:42:40.154Z] ---> job-cost.sh [2021-10-28T22:42:40.154Z] lf-activate-venv: SKIPPING [2021-10-28T22:42:40.154Z] DEBUG: total: 0.10999999940395355 [2021-10-28T22:42:40.154Z] INFO: Retrieving Stack Cost... [2021-10-28T22:42:42.703Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-28T22:42:42.703Z] INFO: Archiving Costs [Pipeline] echo [2021-10-28T22:42:42.714Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-28T22:42:43.006Z] ---> logs-deploy.sh [2021-10-28T22:42:43.006Z] lf-activate-venv: SKIPPING [2021-10-28T22:42:43.006Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1049/2 [2021-10-28T22:42:43.006Z] INFO: archiving workspace using pattern(s): [2021-10-28T22:42:43.579Z] Archives upload complete. [2021-10-28T22:42:43.845Z] INFO: archiving logs to Nexus