Pull request #1061 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 6cc4e6984e1dc64463708859471cce2a42b1084b+b65f5695dadca3fd7b85e6de0c13b69f00bad0e6 (b132d0bf6cbb7dab1723cb88412edc228ef4eb39) Running in Durability level: MAX_SURVIVABILITY Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4139347960300219051.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 9a07f3f07dd1acff74ab8b51a5ea399813bb16af Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh6385039811325681399.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 9a07f3f07dd1acff74ab8b51a5ea399813bb16af The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1061/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1061/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh5446843792330177720.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1061/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh7887745570797024921.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 9a07f3f07dd1acff74ab8b51a5ea399813bb16af (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 9a07f3f07dd1acff74ab8b51a5ea399813bb16af # timeout=10 Commit message: "Merge pull request #362 from edgexfoundry/lts-changes" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4287018531037780850.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1061/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1061/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh785308037360553076.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 9a07f3f07dd1acff74ab8b51a5ea399813bb16af Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-29445 in /w/workspace/gexfoundry_device-sdk-go_PR-1061 [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-1061 # 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-1061@tmp/jenkins-gitclient-ssh2306730473582153330.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-1061@tmp/jenkins-gitclient-ssh5798974577044821926.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1061/head:refs/remotes/origin/PR-1061 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit b65f5695dadca3fd7b85e6de0c13b69f00bad0e6 into PR head commit 6cc4e6984e1dc64463708859471cce2a42b1084b Merge succeeded, producing 6cc4e6984e1dc64463708859471cce2a42b1084b Checking out Revision 6cc4e6984e1dc64463708859471cce2a42b1084b (PR-1061) > git config core.sparsecheckout # timeout=10 > git checkout -f 6cc4e6984e1dc64463708859471cce2a42b1084b # 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-1061@tmp/jenkins-gitclient-ssh8060715413845126920.key > git merge b65f5695dadca3fd7b85e6de0c13b69f00bad0e6 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6cc4e6984e1dc64463708859471cce2a42b1084b # timeout=10 Commit message: "docs: Update swagger version to 2.1.0" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.24.4' fatal: bad object 9a07f3f07dd1acff74ab8b51a5ea399813bb16af [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-11-10T00:50:38.819Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-11-10T00:50:38.962Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-11-10T00:50:39.041Z] ========================================================= [2021-11-10T00:50:39.041Z] EdgeX Global Pipelines Version Info [2021-11-10T00:50:39.041Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-11-10T00:50:40.222Z] ------------------- [2021-11-10T00:50:40.223Z] stable info: [2021-11-10T00:50:40.223Z] ------------------- [2021-11-10T00:50:40.223Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-11-10T00:50:40.223Z] Commit SHA: 9a07f3f07dd1acff74ab8b51a5ea399813bb16af [2021-11-10T00:50:40.223Z] Message: update stable to v1.0.211 [2021-11-10T00:50:40.801Z] ------------------- [2021-11-10T00:50:40.801Z] experimental info: [2021-11-10T00:50:40.801Z] ------------------- [2021-11-10T00:50:40.801Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-11-10T00:50:40.801Z] Commit SHA: 9a07f3f07dd1acff74ab8b51a5ea399813bb16af [2021-11-10T00:50:40.801Z] Message: update experimental to v1.0.211 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-11-10T00:50:41.005Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-11-10T00:50:41.046Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-11-10T00:50:42.019Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-11-10T00:50:42.054Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-11-10T00:50:42.089Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-11-10T00:50:42.119Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-11-10T00:50:42.157Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2021-11-10T00:50:42.195Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-11-10T00:50:42.234Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-11-10T00:50:42.274Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-11-10T00:50:42.314Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-11-10T00:50:42.349Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-11-10T00:50:42.384Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-11-10T00:50:42.423Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-11-10T00:50:42.462Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-11-10T00:50:42.501Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-11-10T00:50:42.536Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-11-10T00:50:42.574Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-11-10T00:50:42.610Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-11-10T00:50:42.646Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-11-10T00:50:42.678Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-11-10T00:50:42.710Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-11-10T00:50:42.743Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-11-10T00:50:42.777Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-11-10T00:50:42.810Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-11-10T00:50:42.842Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-11-10T00:50:42.874Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1061 [Pipeline] echo [2021-11-10T00:50:42.909Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1061 [Pipeline] echo [2021-11-10T00:50:42.942Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1061 [Pipeline] echo [2021-11-10T00:50:42.975Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6cc4e6984e1dc64463708859471cce2a42b1084b [Pipeline] echo [2021-11-10T00:50:43.014Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6cc4e69 [Pipeline] echo [2021-11-10T00:50:43.047Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-10T00:50:43.141Z] provisioning config files... [2021-11-10T00:50:43.162Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1061@tmp/config6027844629925851444tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-10T00:50:43.522Z] ---> docker-login.sh [2021-11-10T00:50:43.522Z] nexus3.edgexfoundry.org:10001 [2021-11-10T00:50:43.522Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-10T00:50:43.783Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-10T00:50:43.783Z] Configure a credential helper to remove this warning. See [2021-11-10T00:50:43.783Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-10T00:50:43.783Z] [2021-11-10T00:50:43.783Z] Login Succeeded [2021-11-10T00:50:43.783Z] nexus3.edgexfoundry.org:10002 [2021-11-10T00:50:43.783Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-10T00:50:43.783Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-10T00:50:43.783Z] Configure a credential helper to remove this warning. See [2021-11-10T00:50:43.783Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-10T00:50:43.783Z] [2021-11-10T00:50:43.783Z] Login Succeeded [2021-11-10T00:50:43.783Z] nexus3.edgexfoundry.org:10003 [2021-11-10T00:50:44.047Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-10T00:50:44.047Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-10T00:50:44.047Z] Configure a credential helper to remove this warning. See [2021-11-10T00:50:44.047Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-10T00:50:44.047Z] [2021-11-10T00:50:44.047Z] Login Succeeded [2021-11-10T00:50:44.047Z] nexus3.edgexfoundry.org:10004 [2021-11-10T00:50:44.047Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-10T00:50:44.047Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-10T00:50:44.047Z] Configure a credential helper to remove this warning. See [2021-11-10T00:50:44.047Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-10T00:50:44.047Z] [2021-11-10T00:50:44.047Z] Login Succeeded [2021-11-10T00:50:44.047Z] docker.io [2021-11-10T00:50:44.310Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-10T00:50:44.574Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-10T00:50:44.574Z] Configure a credential helper to remove this warning. See [2021-11-10T00:50:44.574Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-10T00:50:44.574Z] [2021-11-10T00:50:44.574Z] Login Succeeded [2021-11-10T00:50:44.574Z] ---> docker-login.sh ends [Pipeline] } [2021-11-10T00:50:44.597Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2021-11-10T00:50:45.227Z] + git rev-list -1 --merges 6cc4e6984e1dc64463708859471cce2a42b1084b~1..6cc4e6984e1dc64463708859471cce2a42b1084b [Pipeline] echo [2021-11-10T00:50:45.287Z] -----------> git rev-list -1 --merges 6cc4e6984e1dc64463708859471cce2a42b1084b~1..6cc4e6984e1dc64463708859471cce2a42b1084b 6cc4e6984e1dc64463708859471cce2a42b1084b [false] [Pipeline] sh [2021-11-10T00:50:45.613Z] + git log --format=format:%s -1 6cc4e6984e1dc64463708859471cce2a42b1084b [Pipeline] echo [2021-11-10T00:50:45.643Z] ========================================================= [2021-11-10T00:50:45.643Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2021-11-10T00:50:45.643Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-10T00:50:46.078Z] + git log --format=format:%s -1 6cc4e6984e1dc64463708859471cce2a42b1084b [Pipeline] echo [2021-11-10T00:50:46.104Z] [semverPrep] GIT_COMMIT: 6cc4e6984e1dc64463708859471cce2a42b1084b, Commit Message: docs: Update swagger version to 2.1.0 [Pipeline] echo [2021-11-10T00:50:46.133Z] [semverPrep] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-11-10T00:50:47.697Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-10T00:50:47.697Z] [2021-11-10T00:50:47.697Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-11-10T00:50:48.031Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-10T00:50:51.331Z] latest: Pulling from edgex-devops/git-semver [2021-11-10T00:50:51.331Z] a0d0a0d46f8b: Pulling fs layer [2021-11-10T00:50:51.331Z] 3e5f54012d9b: Pulling fs layer [2021-11-10T00:50:51.331Z] 4c7163046ea9: Pulling fs layer [2021-11-10T00:50:51.331Z] 0c2d73faf560: Pulling fs layer [2021-11-10T00:50:51.331Z] 0c2d73faf560: Waiting [2021-11-10T00:50:51.331Z] 3e5f54012d9b: Verifying Checksum [2021-11-10T00:50:51.331Z] 3e5f54012d9b: Download complete [2021-11-10T00:50:51.331Z] a0d0a0d46f8b: Verifying Checksum [2021-11-10T00:50:51.331Z] a0d0a0d46f8b: Download complete [2021-11-10T00:50:51.331Z] 0c2d73faf560: Verifying Checksum [2021-11-10T00:50:51.331Z] 0c2d73faf560: Download complete [2021-11-10T00:50:51.331Z] 4c7163046ea9: Verifying Checksum [2021-11-10T00:50:51.331Z] 4c7163046ea9: Download complete [2021-11-10T00:50:51.331Z] a0d0a0d46f8b: Pull complete [2021-11-10T00:50:51.595Z] 3e5f54012d9b: Pull complete [2021-11-10T00:50:51.861Z] 4c7163046ea9: Pull complete [2021-11-10T00:50:51.861Z] 0c2d73faf560: Pull complete [2021-11-10T00:50:51.861Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-11-10T00:50:51.861Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-10T00:50:51.861Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-11-10T00:50:51.963Z] prd-centos7-docker-4c-2g-29445 does not seem to be running inside a container [2021-11-10T00:50:52.007Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1061 -v /w/workspace/gexfoundry_device-sdk-go_PR-1061:/w/workspace/gexfoundry_device-sdk-go_PR-1061:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1061@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1061@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 ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-11-10T00:50:52.675Z] $ docker top 0d2910f2c211b58567b5f90d8663fc0fe2ff52846fadd9f95dba71e370d4d027 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-10T00:50:52.840Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-10T00:50:52.840Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-10T00:50:52.969Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-10T00:50:52.972Z] $ docker exec 0d2910f2c211b58567b5f90d8663fc0fe2ff52846fadd9f95dba71e370d4d027 ssh-agent [2021-11-10T00:50:53.084Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXdcClob/agent.13 [2021-11-10T00:50:53.084Z] SSH_AGENT_PID=20 [2021-11-10T00:50:53.094Z] Running ssh-add (command line suppressed) [2021-11-10T00:50:53.197Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1061@tmp/private_key_9210428820717342823.key (/w/workspace/gexfoundry_device-sdk-go_PR-1061@tmp/private_key_9210428820717342823.key) [2021-11-10T00:50:53.212Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-10T00:50:53.544Z] + git tag --points-at HEAD [Pipeline] } [2021-11-10T00:50:53.559Z] $ docker exec --env ******** --env ******** 0d2910f2c211b58567b5f90d8663fc0fe2ff52846fadd9f95dba71e370d4d027 ssh-agent -k [2021-11-10T00:50:53.658Z] unset SSH_AUTH_SOCK; [2021-11-10T00:50:53.659Z] unset SSH_AGENT_PID; [2021-11-10T00:50:53.659Z] echo Agent pid 20 killed; [2021-11-10T00:50:53.667Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-11-10T00:50:53.735Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-10T00:50:53.735Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-10T00:50:53.831Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-10T00:50:53.833Z] $ docker exec 0d2910f2c211b58567b5f90d8663fc0fe2ff52846fadd9f95dba71e370d4d027 ssh-agent [2021-11-10T00:50:53.925Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXhoIDje/agent.55 [2021-11-10T00:50:53.925Z] SSH_AGENT_PID=62 [2021-11-10T00:50:53.930Z] Running ssh-add (command line suppressed) [2021-11-10T00:50:54.014Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1061@tmp/private_key_2343452284799560848.key (/w/workspace/gexfoundry_device-sdk-go_PR-1061@tmp/private_key_2343452284799560848.key) [2021-11-10T00:50:54.028Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-10T00:50:54.355Z] + git semver init [2021-11-10T00:50:54.355Z] # -> Open(): unable to determine branch for HEAD [2021-11-10T00:50:54.355Z] # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1061/.git [2021-11-10T00:50:54.355Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1061 [2021-11-10T00:50:54.355Z] # $SEMVER_REMOTE_NAME = origin [2021-11-10T00:50:54.355Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-10T00:50:54.355Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-10T00:50:54.355Z] # $SEMVER_BRANCH = PR-1061 [2021-11-10T00:50:54.355Z] # $SEMVER_TEMP = /tmp/semver-502099372 [2021-11-10T00:50:54.355Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-11-10T00:50:55.301Z] # '/tmp/semver-502099372' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1061/.semver' [2021-11-10T00:50:55.301Z] # -> Force: false [2021-11-10T00:50:55.301Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1061/.semver [Pipeline] } [2021-11-10T00:50:55.318Z] $ docker exec --env ******** --env ******** 0d2910f2c211b58567b5f90d8663fc0fe2ff52846fadd9f95dba71e370d4d027 ssh-agent -k [2021-11-10T00:50:55.416Z] unset SSH_AUTH_SOCK; [2021-11-10T00:50:55.416Z] unset SSH_AGENT_PID; [2021-11-10T00:50:55.417Z] echo Agent pid 62 killed; [2021-11-10T00:50:55.425Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-10T00:50:55.811Z] + git semver [Pipeline] } [2021-11-10T00:50:55.834Z] $ docker stop --time=1 0d2910f2c211b58567b5f90d8663fc0fe2ff52846fadd9f95dba71e370d4d027 [2021-11-10T00:50:57.050Z] $ docker rm -f 0d2910f2c211b58567b5f90d8663fc0fe2ff52846fadd9f95dba71e370d4d027 [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-10T00:50:57.439Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-11-10T00:50:57.720Z] Stashed 1 file(s) [Pipeline] echo [2021-11-10T00:50:57.739Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-11-10T00:51:13.164Z] Still waiting to schedule task [2021-11-10T00:51:13.164Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-11-10T00:51:13.184Z] Still waiting to schedule task [2021-11-10T00:51:13.185Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-11-10T01:02:54.026Z] Running on prd-centos7-docker-4c-2g-29608 in /w/workspace/gexfoundry_device-sdk-go_PR-1061 [Pipeline] { [Pipeline] ws [2021-11-10T01:02:54.065Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-11-10T01:02:54.195Z] Selected Git installation does not exist. Using Default [2021-11-10T01:02:54.195Z] The recommended git tool is: NONE [2021-11-10T01:02:56.151Z] using credential edgex-jenkins-ssh [2021-11-10T01:02:56.162Z] Cloning the remote Git repository [2021-11-10T01:02:55.799Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-11-10T01:02:55.861Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-11-10T01:02:55.900Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-11-10T01:02:55.900Z] > git --version # timeout=10 [2021-11-10T01:02:55.910Z] > git --version # 'git version 2.24.4' [2021-11-10T01:02:55.911Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-10T01:02:55.942Z] [INFO] Currently running in a labeled security context [2021-11-10T01:02:55.943Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-11-10T01:02:55.943Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh6372194216190908952.key [2021-11-10T01:02:55.979Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-10T01:02:59.308Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-11-10T01:02:59.322Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-10T01:02:59.340Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-11-10T01:02:59.359Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-11-10T01:02:59.359Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-10T01:02:59.360Z] [INFO] Currently running in a labeled security context [2021-11-10T01:02:59.360Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-11-10T01:02:59.360Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh4743644049771268413.key [2021-11-10T01:02:59.370Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1061/head:refs/remotes/origin/PR-1061 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-11-10T01:03:00.063Z] Merging remotes/origin/main commit b65f5695dadca3fd7b85e6de0c13b69f00bad0e6 into PR head commit 6cc4e6984e1dc64463708859471cce2a42b1084b [2021-11-10T01:03:00.157Z] Merge succeeded, producing 6cc4e6984e1dc64463708859471cce2a42b1084b [2021-11-10T01:03:00.157Z] Checking out Revision 6cc4e6984e1dc64463708859471cce2a42b1084b (PR-1061) [2021-11-10T01:03:00.003Z] > git config core.sparsecheckout # timeout=10 [2021-11-10T01:03:00.012Z] > git checkout -f 6cc4e6984e1dc64463708859471cce2a42b1084b # timeout=10 [2021-11-10T01:03:00.053Z] > git remote # timeout=10 [2021-11-10T01:03:00.061Z] > git config --get remote.origin.url # timeout=10 [2021-11-10T01:03:00.073Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-10T01:03:00.074Z] [INFO] Currently running in a labeled security context [2021-11-10T01:03:00.075Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-11-10T01:03:00.075Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh7378608878488358851.key [2021-11-10T01:03:00.082Z] > git merge b65f5695dadca3fd7b85e6de0c13b69f00bad0e6 # timeout=10 [2021-11-10T01:03:00.089Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-11-10T01:03:00.099Z] > git config core.sparsecheckout # timeout=10 [2021-11-10T01:03:00.105Z] > git checkout -f 6cc4e6984e1dc64463708859471cce2a42b1084b # timeout=10 [2021-11-10T01:03:03.712Z] Commit message: "docs: Update swagger version to 2.1.0" [2021-11-10T01:03:03.735Z] > git --version # timeout=10 [2021-11-10T01:03:03.743Z] > git --version # 'git version 2.24.4' [2021-11-10T01:03:03.749Z] fatal: bad object 9a07f3f07dd1acff74ab8b51a5ea399813bb16af [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-10T01:03:04.567Z] provisioning config files... [2021-11-10T01:03:04.584Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config2155984436289079305tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-10T01:03:04.994Z] ---> docker-login.sh [2021-11-10T01:03:04.994Z] nexus3.edgexfoundry.org:10001 [2021-11-10T01:03:04.994Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-10T01:03:05.256Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-10T01:03:05.256Z] Configure a credential helper to remove this warning. See [2021-11-10T01:03:05.256Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-10T01:03:05.256Z] [2021-11-10T01:03:05.256Z] Login Succeeded [2021-11-10T01:03:05.256Z] nexus3.edgexfoundry.org:10002 [2021-11-10T01:03:05.256Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-10T01:03:05.256Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-10T01:03:05.256Z] Configure a credential helper to remove this warning. See [2021-11-10T01:03:05.256Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-10T01:03:05.256Z] [2021-11-10T01:03:05.256Z] Login Succeeded [2021-11-10T01:03:05.256Z] nexus3.edgexfoundry.org:10003 [2021-11-10T01:03:05.517Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-10T01:03:05.517Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-10T01:03:05.517Z] Configure a credential helper to remove this warning. See [2021-11-10T01:03:05.517Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-10T01:03:05.517Z] [2021-11-10T01:03:05.517Z] Login Succeeded [2021-11-10T01:03:05.517Z] nexus3.edgexfoundry.org:10004 [2021-11-10T01:03:05.517Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-10T01:03:05.517Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-10T01:03:05.517Z] Configure a credential helper to remove this warning. See [2021-11-10T01:03:05.517Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-10T01:03:05.517Z] [2021-11-10T01:03:05.517Z] Login Succeeded [2021-11-10T01:03:05.517Z] docker.io [2021-11-10T01:03:05.517Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-10T01:03:06.088Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-10T01:03:06.088Z] Configure a credential helper to remove this warning. See [2021-11-10T01:03:06.088Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-10T01:03:06.088Z] [2021-11-10T01:03:06.088Z] Login Succeeded [2021-11-10T01:03:06.088Z] ---> docker-login.sh ends [Pipeline] } [2021-11-10T01:03:07.077Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-11-10T01:03:07.344Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-10T01:03:07.375Z] ========================================================= [2021-11-10T01:03:07.375Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-11-10T01:03:07.375Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-11-10T01:03:07.768Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine --build-arg 'MAKE=echo noop' --target=builder . [2021-11-10T01:03:07.768Z] Sending build context to Docker daemon 2.766MB [2021-11-10T01:03:07.768Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2021-11-10T01:03:07.768Z] Step 2/10 : FROM ${BASE} AS builder [2021-11-10T01:03:07.768Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-11-10T01:03:07.768Z] a0d0a0d46f8b: Pulling fs layer [2021-11-10T01:03:07.768Z] 31adcdaf11c8: Pulling fs layer [2021-11-10T01:03:07.768Z] b8b176561691: Pulling fs layer [2021-11-10T01:03:07.768Z] 4527c011a84f: Pulling fs layer [2021-11-10T01:03:07.768Z] 5d74067f8e1e: Pulling fs layer [2021-11-10T01:03:07.768Z] e0aca202a116: Pulling fs layer [2021-11-10T01:03:07.768Z] 3a43be97a3b4: Pulling fs layer [2021-11-10T01:03:07.768Z] 34cad66bf833: Pulling fs layer [2021-11-10T01:03:07.768Z] b4e3c513aaa6: Pulling fs layer [2021-11-10T01:03:07.768Z] 4527c011a84f: Waiting [2021-11-10T01:03:07.768Z] 5d74067f8e1e: Waiting [2021-11-10T01:03:07.768Z] e0aca202a116: Waiting [2021-11-10T01:03:07.768Z] 3a43be97a3b4: Waiting [2021-11-10T01:03:07.768Z] 34cad66bf833: Waiting [2021-11-10T01:03:07.768Z] b4e3c513aaa6: Waiting [2021-11-10T01:03:07.768Z] b8b176561691: Verifying Checksum [2021-11-10T01:03:07.768Z] b8b176561691: Download complete [2021-11-10T01:03:07.768Z] 31adcdaf11c8: Verifying Checksum [2021-11-10T01:03:07.768Z] 31adcdaf11c8: Download complete [2021-11-10T01:03:07.768Z] 5d74067f8e1e: Verifying Checksum [2021-11-10T01:03:07.768Z] 5d74067f8e1e: Download complete [2021-11-10T01:03:07.768Z] e0aca202a116: Verifying Checksum [2021-11-10T01:03:07.768Z] e0aca202a116: Download complete [2021-11-10T01:03:07.768Z] a0d0a0d46f8b: Verifying Checksum [2021-11-10T01:03:07.768Z] a0d0a0d46f8b: Download complete [2021-11-10T01:03:07.768Z] 3a43be97a3b4: Verifying Checksum [2021-11-10T01:03:07.768Z] 3a43be97a3b4: Download complete [2021-11-10T01:03:08.036Z] 34cad66bf833: Verifying Checksum [2021-11-10T01:03:08.036Z] 34cad66bf833: Download complete [2021-11-10T01:03:08.300Z] b4e3c513aaa6: Verifying Checksum [2021-11-10T01:03:08.301Z] b4e3c513aaa6: Download complete [2021-11-10T01:03:08.301Z] 4527c011a84f: Verifying Checksum [2021-11-10T01:03:08.301Z] 4527c011a84f: Download complete [2021-11-10T01:03:08.561Z] a0d0a0d46f8b: Pull complete [2021-11-10T01:03:08.561Z] 31adcdaf11c8: Pull complete [2021-11-10T01:03:08.561Z] b8b176561691: Pull complete [2021-11-10T01:03:12.787Z] 4527c011a84f: Pull complete [2021-11-10T01:03:12.787Z] 5d74067f8e1e: Pull complete [2021-11-10T01:03:12.787Z] e0aca202a116: Pull complete [2021-11-10T01:03:12.787Z] 3a43be97a3b4: Pull complete [2021-11-10T01:03:12.787Z] 34cad66bf833: Pull complete [2021-11-10T01:03:14.715Z] b4e3c513aaa6: Pull complete [2021-11-10T01:03:14.715Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2021-11-10T01:03:14.715Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-11-10T01:03:14.715Z] ---> 9f6097aaca64 [2021-11-10T01:03:14.715Z] Step 3/10 : ARG MAKE=make build [2021-11-10T01:03:17.262Z] ---> Running in 6c092c279467 [2021-11-10T01:03:17.262Z] Removing intermediate container 6c092c279467 [2021-11-10T01:03:17.262Z] ---> 5897829080ef [2021-11-10T01:03:17.262Z] Step 4/10 : WORKDIR /device-sdk-go [2021-11-10T01:03:17.262Z] ---> Running in 685623bc2ba6 [2021-11-10T01:03:17.262Z] Removing intermediate container 685623bc2ba6 [2021-11-10T01:03:17.262Z] ---> 1bcc44ffb4f7 [2021-11-10T01:03:17.263Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-10T01:03:17.263Z] ---> Running in 6511a66f04c8 [2021-11-10T01:03:17.263Z] Removing intermediate container 6511a66f04c8 [2021-11-10T01:03:17.263Z] ---> e82831975548 [2021-11-10T01:03:17.263Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-10T01:03:17.263Z] ---> Running in b814b3877b2c [2021-11-10T01:03:17.834Z] Removing intermediate container b814b3877b2c [2021-11-10T01:03:17.834Z] ---> 7be68a4eb9a7 [2021-11-10T01:03:17.834Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-11-10T01:03:17.834Z] ---> Running in e182c6a0dbcb [2021-11-10T01:03:18.103Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-10T01:03:19.055Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-10T01:03:19.319Z] OK: 220 MiB in 52 packages [2021-11-10T01:03:19.581Z] Removing intermediate container e182c6a0dbcb [2021-11-10T01:03:19.581Z] ---> a1f471e3d191 [2021-11-10T01:03:19.581Z] Step 8/10 : COPY . . [2021-11-10T01:03:19.845Z] ---> 48284ee3ad99 [2021-11-10T01:03:19.845Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-10T01:03:19.845Z] ---> Running in 34b99364f91b [2021-11-10T01:03:58.679Z] Removing intermediate container 34b99364f91b [2021-11-10T01:03:58.679Z] ---> 9add249f3aba [2021-11-10T01:03:58.679Z] Step 10/10 : RUN ${MAKE} [2021-11-10T01:03:58.679Z] ---> Running in f769761c3572 [2021-11-10T01:03:58.679Z] noop [2021-11-10T01:03:58.679Z] Removing intermediate container f769761c3572 [2021-11-10T01:03:58.679Z] ---> 5e6a1ad70482 [2021-11-10T01:03:58.679Z] Successfully built 5e6a1ad70482 [2021-11-10T01:03:58.679Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-11-10T01:03:59.011Z] + docker inspect -f . ci-base-image-x86_64 [2021-11-10T01:03:59.011Z] . [Pipeline] withDockerContainer [2021-11-10T01:03:59.111Z] prd-centos7-docker-4c-2g-29608 does not seem to be running inside a container [2021-11-10T01:03:59.148Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-11-10T01:03:59.509Z] $ docker top 654ece010907600599cca54e28e43dff052c766ab855a79f4fdafdc40c35d3eb -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-10T01:03:59.916Z] + go version [2021-11-10T01:03:59.916Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-11-10T01:03:59.938Z] $ docker stop --time=1 654ece010907600599cca54e28e43dff052c766ab855a79f4fdafdc40c35d3eb [2021-11-10T01:04:01.153Z] $ docker rm -f 654ece010907600599cca54e28e43dff052c766ab855a79f4fdafdc40c35d3eb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-10T01:04:01.804Z] + docker inspect -f . ci-base-image-x86_64 [2021-11-10T01:04:01.804Z] . [Pipeline] withDockerContainer [2021-11-10T01:04:01.890Z] prd-centos7-docker-4c-2g-29608 does not seem to be running inside a container [2021-11-10T01:04:01.940Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-11-10T01:04:02.351Z] $ docker top fd37ad03f46f656c0d8b4a8e84c08f6b928ce81876ad0607876f458aebab2df0 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-11-10T01:04:02.817Z] + make test [2021-11-10T01:04:02.817Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-11-10T01:04:09.467Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-11-10T01:04:36.534Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-11-10T01:04:36.534Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-11-10T01:04:36.534Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-11-10T01:04:36.534Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.060s coverage: 23.3% of statements [2021-11-10T01:04:36.534Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-11-10T01:04:36.534Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.064s coverage: 27.6% of statements [2021-11-10T01:04:36.534Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.058s coverage: 78.9% of statements [2021-11-10T01:04:36.534Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.046s coverage: 9.0% of statements [2021-11-10T01:04:36.534Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-11-10T01:04:36.534Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-11-10T01:04:36.534Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-11-10T01:04:37.115Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.072s coverage: 28.7% of statements [2021-11-10T01:04:37.115Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-11-10T01:04:38.507Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.076s coverage: 83.3% of statements [2021-11-10T01:04:38.507Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-11-10T01:04:38.507Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-11-10T01:04:38.507Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.081s coverage: 57.8% of statements [2021-11-10T01:04:39.909Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.856s coverage: 89.2% of statements [2021-11-10T01:04:39.909Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-11-10T01:04:39.909Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.059s coverage: 4.8% of statements [2021-11-10T01:04:39.909Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-11-10T01:04:39.909Z] GO111MODULE=on go vet ./... [2021-11-10T01:04:58.118Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-11-10T01:04:58.118Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-11-10T01:04:58.118Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-11-10T01:04:58.405Z] $ docker stop --time=1 fd37ad03f46f656c0d8b4a8e84c08f6b928ce81876ad0607876f458aebab2df0 [2021-11-10T01:05:00.533Z] $ docker rm -f fd37ad03f46f656c0d8b4a8e84c08f6b928ce81876ad0607876f458aebab2df0 [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-10T01:05:01.083Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-11-10T01:05:01.326Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-11-10T01:05:06.839Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-11-10T01:05:07.147Z] + ls -al . [2021-11-10T01:05:07.147Z] total 264 [2021-11-10T01:05:07.147Z] drwxrwxr-x. 10 jenkins jenkins 4096 Nov 10 01:04 . [2021-11-10T01:05:07.147Z] drwxrwxr-x. 4 jenkins jenkins 28 Nov 10 01:02 .. [2021-11-10T01:05:07.147Z] drwxrwxr-x. 2 jenkins jenkins 37 Nov 10 01:03 bin [2021-11-10T01:05:07.147Z] -rw-rw-r--. 1 jenkins jenkins 24816 Nov 10 01:03 CHANGELOG.md [2021-11-10T01:05:07.147Z] -rw-r--r--. 1 jenkins jenkins 128369 Nov 10 01:04 coverage.out [2021-11-10T01:05:07.147Z] -rw-rw-r--. 1 jenkins jenkins 140 Nov 10 01:03 .dockerignore [2021-11-10T01:05:07.147Z] drwxrwxr-x. 5 jenkins jenkins 62 Nov 10 01:03 example [2021-11-10T01:05:07.147Z] drwxrwxr-x. 8 jenkins jenkins 179 Nov 10 01:03 .git [2021-11-10T01:05:07.147Z] drwxrwxr-x. 3 jenkins jenkins 125 Nov 10 01:03 .github [2021-11-10T01:05:07.147Z] -rw-rw-r--. 1 jenkins jenkins 131 Nov 10 01:03 .gitignore [2021-11-10T01:05:07.147Z] -rw-rw-r--. 1 jenkins jenkins 602 Nov 10 01:03 go.mod [2021-11-10T01:05:07.147Z] -rw-rw-r--. 1 jenkins jenkins 49022 Nov 10 01:03 go.sum [2021-11-10T01:05:07.147Z] -rw-rw-r--. 1 jenkins jenkins 677 Nov 10 01:03 GOVERNANCE.md [2021-11-10T01:05:07.147Z] drwxrwxr-x. 15 jenkins jenkins 224 Nov 10 01:03 internal [2021-11-10T01:05:07.147Z] -rw-rw-r--. 1 jenkins jenkins 880 Nov 10 01:03 Jenkinsfile [2021-11-10T01:05:07.147Z] -rw-rw-r--. 1 jenkins jenkins 11341 Nov 10 01:03 LICENSE [2021-11-10T01:05:07.147Z] -rw-rw-r--. 1 jenkins jenkins 1120 Nov 10 01:03 Makefile [2021-11-10T01:05:07.147Z] drwxrwxr-x. 3 jenkins jenkins 16 Nov 10 01:03 openapi [2021-11-10T01:05:07.147Z] -rw-rw-r--. 1 jenkins jenkins 619 Nov 10 01:03 OWNERS.md [2021-11-10T01:05:07.147Z] drwxrwxr-x. 5 jenkins jenkins 50 Nov 10 01:03 pkg [2021-11-10T01:05:07.147Z] -rw-rw-r--. 1 jenkins jenkins 4877 Nov 10 01:03 README.md [2021-11-10T01:05:07.147Z] drwxrwxr-x. 4 jenkins jenkins 54 Nov 10 01:03 snap [2021-11-10T01:05:07.147Z] -rw-rw-r--. 1 jenkins jenkins 5 Nov 10 00:50 VERSION [2021-11-10T01:05:07.147Z] -rw-rw-r--. 1 jenkins jenkins 222 Nov 10 01:03 version.go [Pipeline] isUnix [Pipeline] sh [2021-11-10T01:05:07.473Z] + 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=6cc4e6984e1dc64463708859471cce2a42b1084b --label arch=amd64 --label version=0.0.0 . [2021-11-10T01:05:07.473Z] Sending build context to Docker daemon 2.895MB [2021-11-10T01:05:07.473Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-11-10T01:05:07.473Z] Step 2/24 : FROM ${BASE} AS builder [2021-11-10T01:05:07.473Z] ---> 5e6a1ad70482 [2021-11-10T01:05:07.473Z] Step 3/24 : ARG MAKE=make build [2021-11-10T01:05:07.473Z] ---> Running in a41b7e6d6ed7 [2021-11-10T01:05:07.736Z] Removing intermediate container a41b7e6d6ed7 [2021-11-10T01:05:07.736Z] ---> 8f9e8f090e97 [2021-11-10T01:05:07.736Z] Step 4/24 : WORKDIR /device-sdk-go [2021-11-10T01:05:07.736Z] ---> Running in 3082172276d0 [2021-11-10T01:05:07.736Z] Removing intermediate container 3082172276d0 [2021-11-10T01:05:07.736Z] ---> 837a0b70a205 [2021-11-10T01:05:07.736Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-10T01:05:07.736Z] ---> Running in 22872523e851 [2021-11-10T01:05:08.003Z] Removing intermediate container 22872523e851 [2021-11-10T01:05:08.003Z] ---> 0109573327f4 [2021-11-10T01:05:08.003Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-10T01:05:08.004Z] ---> Running in 8dd4a8f61b1c [2021-11-10T01:05:08.279Z] Removing intermediate container 8dd4a8f61b1c [2021-11-10T01:05:08.279Z] ---> 86d9b82cb3a7 [2021-11-10T01:05:08.279Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-11-10T01:05:08.279Z] ---> Running in a11f698c5371 [2021-11-10T01:05:08.542Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-10T01:05:09.484Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-10T01:05:09.748Z] OK: 220 MiB in 52 packages [2021-11-10T01:05:10.011Z] Removing intermediate container a11f698c5371 [2021-11-10T01:05:10.011Z] ---> dced7324c6c6 [2021-11-10T01:05:10.011Z] Step 8/24 : COPY . . [2021-11-10T01:05:10.280Z] ---> 419b2bf0021c [2021-11-10T01:05:10.280Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-10T01:05:10.280Z] ---> Running in 9bce117e221a [2021-11-10T01:05:10.864Z] Removing intermediate container 9bce117e221a [2021-11-10T01:05:10.864Z] ---> f7da536ac767 [2021-11-10T01:05:10.864Z] Step 10/24 : RUN ${MAKE} [2021-11-10T01:05:11.125Z] ---> Running in 1abdd08e2a25 [2021-11-10T01:05:11.387Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-11-10T01:05:23.676Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-11-10T01:05:23.940Z] Removing intermediate container 1abdd08e2a25 [2021-11-10T01:05:23.940Z] ---> e12165206cda [2021-11-10T01:05:23.940Z] Step 11/24 : FROM alpine:3.14 [2021-11-10T01:05:28.157Z] 3.14: Pulling from library/alpine [2021-11-10T01:05:28.157Z] a0d0a0d46f8b: Already exists [2021-11-10T01:05:28.157Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-11-10T01:05:28.157Z] Status: Downloaded newer image for alpine:3.14 [2021-11-10T01:05:28.157Z] ---> 14119a10abf4 [2021-11-10T01:05:28.157Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-10T01:05:28.157Z] ---> Running in 93e7be2bbe56 [2021-11-10T01:05:28.157Z] Removing intermediate container 93e7be2bbe56 [2021-11-10T01:05:28.157Z] ---> 36621b5761a1 [2021-11-10T01:05:28.157Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-10T01:05:28.157Z] ---> Running in 6c13c8065cb4 [2021-11-10T01:05:28.422Z] Removing intermediate container 6c13c8065cb4 [2021-11-10T01:05:28.422Z] ---> cd08d15cde03 [2021-11-10T01:05:28.422Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2021-11-10T01:05:28.422Z] ---> Running in c5a4777530a3 [2021-11-10T01:05:28.685Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-10T01:05:29.630Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-10T01:05:29.891Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2021-11-10T01:05:29.891Z] (2/5) Installing libsodium (1.0.18-r0) [2021-11-10T01:05:30.155Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2021-11-10T01:05:30.155Z] (4/5) Installing libzmq (4.3.4-r0) [2021-11-10T01:05:30.420Z] (5/5) Installing zeromq (4.3.4-r0) [2021-11-10T01:05:30.420Z] Executing busybox-1.33.1-r3.trigger [2021-11-10T01:05:30.420Z] OK: 8 MiB in 19 packages [2021-11-10T01:05:30.681Z] Removing intermediate container c5a4777530a3 [2021-11-10T01:05:30.681Z] ---> 880474feff06 [2021-11-10T01:05:30.681Z] Step 15/24 : WORKDIR / [2021-11-10T01:05:30.681Z] ---> Running in a340e3d8dc6d [2021-11-10T01:05:30.942Z] Removing intermediate container a340e3d8dc6d [2021-11-10T01:05:30.942Z] ---> 1af66e2f7b20 [2021-11-10T01:05:30.942Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-11-10T01:05:30.942Z] ---> 38f95758c50e [2021-11-10T01:05:30.942Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-11-10T01:05:31.518Z] ---> 6fce4b64b482 [2021-11-10T01:05:31.518Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-11-10T01:05:31.784Z] ---> 6a697deb3b5a [2021-11-10T01:05:31.784Z] Step 19/24 : EXPOSE 59999 [2021-11-10T01:05:31.784Z] ---> Running in b57b84416d7b [2021-11-10T01:05:31.784Z] Removing intermediate container b57b84416d7b [2021-11-10T01:05:31.784Z] ---> 4f66067b1c02 [2021-11-10T01:05:31.784Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2021-11-10T01:05:31.784Z] ---> Running in 77f7a0d068d8 [2021-11-10T01:05:32.049Z] Removing intermediate container 77f7a0d068d8 [2021-11-10T01:05:32.049Z] ---> e8c5d0e68442 [2021-11-10T01:05:32.049Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-11-10T01:05:32.049Z] ---> Running in 7924e5302f05 [2021-11-10T01:05:32.049Z] Removing intermediate container 7924e5302f05 [2021-11-10T01:05:32.049Z] ---> 03bdc02c7165 [2021-11-10T01:05:32.049Z] Step 22/24 : LABEL arch=amd64 [2021-11-10T01:05:32.049Z] ---> Running in b919edabe395 [2021-11-10T01:05:32.049Z] Removing intermediate container b919edabe395 [2021-11-10T01:05:32.049Z] ---> 377c9029b942 [2021-11-10T01:05:32.049Z] Step 23/24 : LABEL git_sha=6cc4e6984e1dc64463708859471cce2a42b1084b [2021-11-10T01:05:32.309Z] ---> Running in e8a643b98c1d [2021-11-10T01:05:32.309Z] Removing intermediate container e8a643b98c1d [2021-11-10T01:05:32.309Z] ---> 20532c49eda8 [2021-11-10T01:05:32.309Z] Step 24/24 : LABEL version=0.0.0 [2021-11-10T01:05:32.309Z] ---> Running in 1aea7a4fb8fb [2021-11-10T01:05:32.309Z] Removing intermediate container 1aea7a4fb8fb [2021-11-10T01:05:32.309Z] ---> 9168b44fa6f5 [2021-11-10T01:05:32.309Z] [Warning] One or more build-args [ARCH] were not consumed [2021-11-10T01:05:32.309Z] Successfully built 9168b44fa6f5 [2021-11-10T01:05:32.309Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-10T01:05:33.232Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-10T01:05:33.232Z] [2021-11-10T01:05:33.232Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-11-10T01:05:33.594Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-10T01:05:33.594Z] latest: Pulling from edgex-lftools-log-publisher [2021-11-10T01:05:33.594Z] b4d181a07f80: Pulling fs layer [2021-11-10T01:05:33.594Z] a1111a8f2ec3: Pulling fs layer [2021-11-10T01:05:33.594Z] ed53099fbce6: Pulling fs layer [2021-11-10T01:05:33.594Z] dc539afda2c1: Pulling fs layer [2021-11-10T01:05:33.594Z] 77bc0d833cb6: Pulling fs layer [2021-11-10T01:05:33.594Z] 9065ff56babe: Pulling fs layer [2021-11-10T01:05:33.594Z] d287ab97295c: Pulling fs layer [2021-11-10T01:05:33.594Z] 77bc0d833cb6: Waiting [2021-11-10T01:05:33.594Z] 9065ff56babe: Waiting [2021-11-10T01:05:33.594Z] d287ab97295c: Waiting [2021-11-10T01:05:33.594Z] dc539afda2c1: Waiting [2021-11-10T01:05:33.594Z] a1111a8f2ec3: Verifying Checksum [2021-11-10T01:05:33.594Z] a1111a8f2ec3: Download complete [2021-11-10T01:05:33.594Z] dc539afda2c1: Verifying Checksum [2021-11-10T01:05:33.594Z] dc539afda2c1: Download complete [2021-11-10T01:05:33.594Z] ed53099fbce6: Verifying Checksum [2021-11-10T01:05:33.594Z] ed53099fbce6: Download complete [2021-11-10T01:05:33.861Z] 9065ff56babe: Verifying Checksum [2021-11-10T01:05:33.861Z] 9065ff56babe: Download complete [2021-11-10T01:05:33.861Z] 77bc0d833cb6: Verifying Checksum [2021-11-10T01:05:33.861Z] 77bc0d833cb6: Download complete [2021-11-10T01:05:33.861Z] b4d181a07f80: Verifying Checksum [2021-11-10T01:05:33.861Z] b4d181a07f80: Download complete [2021-11-10T01:05:34.445Z] d287ab97295c: Verifying Checksum [2021-11-10T01:05:34.445Z] d287ab97295c: Download complete [2021-11-10T01:05:35.393Z] b4d181a07f80: Pull complete [2021-11-10T01:05:35.393Z] a1111a8f2ec3: Pull complete [2021-11-10T01:05:35.965Z] ed53099fbce6: Pull complete [2021-11-10T01:05:35.965Z] dc539afda2c1: Pull complete [2021-11-10T01:05:36.540Z] 77bc0d833cb6: Pull complete [2021-11-10T01:05:36.540Z] 9065ff56babe: Pull complete [2021-11-10T01:05:41.858Z] d287ab97295c: Pull complete [2021-11-10T01:05:41.858Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-11-10T01:05:41.858Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-10T01:05:42.121Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-11-10T01:05:42.221Z] prd-centos7-docker-4c-2g-29608 does not seem to be running inside a container [2021-11-10T01:05:42.266Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-11-10T01:05:47.164Z] $ docker top 4648466246f746b1bb3bf1bcd7d2da94e17b3f59f44216088ec8ee643ad97361 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-10T01:05:47.723Z] ---> job-cost.sh [2021-11-10T01:05:47.723Z] lf-activate-venv: SKIPPING [2021-11-10T01:05:47.723Z] INFO: No Stack... [2021-11-10T01:05:48.295Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-11-10T01:05:49.417Z] INFO: Archiving Costs [Pipeline] sh [2021-11-10T01:05:49.727Z] + cut -d, -f6 [2021-11-10T01:05:49.727Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [Pipeline] lock [2021-11-10T01:05:49.773Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1061-1-stack-cost] [2021-11-10T01:05:49.778Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1061-1-stack-cost] did not exist. Created. [2021-11-10T01:05:49.778Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1061-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-11-10T01:05:50.158Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-11-10T01:05:50.204Z] Stashed 1 file(s) [Pipeline] } [2021-11-10T01:05:50.219Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1061-1-stack-cost] [Pipeline] // lock [Pipeline] } [2021-11-10T01:05:50.278Z] $ docker stop --time=1 4648466246f746b1bb3bf1bcd7d2da94e17b3f59f44216088ec8ee643ad97361 [2021-11-10T01:05:51.439Z] $ docker rm -f 4648466246f746b1bb3bf1bcd7d2da94e17b3f59f44216088ec8ee643ad97361 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-11-10T01:44:21.299Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-30123 in /w/workspace/gexfoundry_device-sdk-go_PR-1061 [Pipeline] { [Pipeline] ws [2021-11-10T01:44:21.341Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-11-10T01:44:21.612Z] Selected Git installation does not exist. Using Default [2021-11-10T01:44:21.612Z] The recommended git tool is: NONE [2021-11-10T01:44:28.444Z] using credential edgex-jenkins-ssh [2021-11-10T01:44:28.462Z] Cloning the remote Git repository [2021-11-10T01:44:28.516Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-11-10T01:44:28.635Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-11-10T01:44:28.708Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-11-10T01:44:28.709Z] > git --version # timeout=10 [2021-11-10T01:44:28.726Z] > git --version # 'git version 2.17.1' [2021-11-10T01:44:28.728Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-10T01:44:28.821Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-10T01:44:30.077Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-11-10T01:44:30.101Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-10T01:44:30.138Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-11-10T01:44:30.173Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-11-10T01:44:30.174Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-10T01:44:30.187Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1061/head:refs/remotes/origin/PR-1061 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-11-10T01:44:30.891Z] Merging remotes/origin/main commit b65f5695dadca3fd7b85e6de0c13b69f00bad0e6 into PR head commit 6cc4e6984e1dc64463708859471cce2a42b1084b [2021-11-10T01:44:31.117Z] Merge succeeded, producing 6cc4e6984e1dc64463708859471cce2a42b1084b [2021-11-10T01:44:31.118Z] Checking out Revision 6cc4e6984e1dc64463708859471cce2a42b1084b (PR-1061) [2021-11-10T01:44:30.910Z] > git config core.sparsecheckout # timeout=10 [2021-11-10T01:44:30.925Z] > git checkout -f 6cc4e6984e1dc64463708859471cce2a42b1084b # timeout=10 [2021-11-10T01:44:31.035Z] > git remote # timeout=10 [2021-11-10T01:44:31.053Z] > git config --get remote.origin.url # timeout=10 [2021-11-10T01:44:31.069Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-10T01:44:31.081Z] > git merge b65f5695dadca3fd7b85e6de0c13b69f00bad0e6 # timeout=10 [2021-11-10T01:44:31.103Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-11-10T01:44:31.126Z] > git config core.sparsecheckout # timeout=10 [2021-11-10T01:44:31.141Z] > git checkout -f 6cc4e6984e1dc64463708859471cce2a42b1084b # timeout=10 [2021-11-10T01:44:35.394Z] Commit message: "docs: Update swagger version to 2.1.0" [2021-11-10T01:44:35.463Z] > git --version # timeout=10 [2021-11-10T01:44:35.480Z] > git --version # 'git version 2.17.1' [2021-11-10T01:44:35.495Z] fatal: bad object 9a07f3f07dd1acff74ab8b51a5ea399813bb16af [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-10T01:44:36.512Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2021-11-10T01:44:36.512Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-11-10T01:44:36.512Z] Dload Upload Total Spent Left Speed [2021-11-10T01:44:36.512Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 164k 0 --:--:-- --:--:-- --:--:-- 167k [Pipeline] sh [2021-11-10T01:44:36.939Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2021-11-10T01:44:37.308Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2021-11-10T01:44:37.308Z] + sudo tee /etc/docker/daemon.new [2021-11-10T01:44:37.308Z] { [2021-11-10T01:44:37.308Z] "registry-mirrors": [ [2021-11-10T01:44:37.308Z] "https://nexus3.edgexfoundry.org:10001" [2021-11-10T01:44:37.308Z] ], [2021-11-10T01:44:37.308Z] "bip": "10.250.0.254/24", [2021-11-10T01:44:37.308Z] "hosts": [ [2021-11-10T01:44:37.308Z] "tcp://0.0.0.0:5555", [2021-11-10T01:44:37.308Z] "unix:///var/run/docker.sock" [2021-11-10T01:44:37.308Z] ], [2021-11-10T01:44:37.308Z] "mtu": 1458, [2021-11-10T01:44:37.308Z] "selinux-enabled": true, [2021-11-10T01:44:37.308Z] "seccomp-profile": "/etc/docker/seccomp.json" [2021-11-10T01:44:37.308Z] } [Pipeline] sh [2021-11-10T01:44:37.684Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2021-11-10T01:44:38.048Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-10T01:44:56.455Z] provisioning config files... [2021-11-10T01:44:56.489Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config2810852054398171196tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-10T01:44:56.906Z] ---> docker-login.sh [2021-11-10T01:44:56.906Z] nexus3.edgexfoundry.org:10001 [2021-11-10T01:44:57.502Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-10T01:44:58.098Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-10T01:44:58.098Z] Configure a credential helper to remove this warning. See [2021-11-10T01:44:58.098Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-10T01:44:58.098Z] [2021-11-10T01:44:58.098Z] Login Succeeded [2021-11-10T01:44:58.098Z] nexus3.edgexfoundry.org:10002 [2021-11-10T01:44:58.372Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-10T01:44:58.716Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-10T01:44:58.716Z] Configure a credential helper to remove this warning. See [2021-11-10T01:44:58.716Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-10T01:44:58.716Z] [2021-11-10T01:44:58.716Z] Login Succeeded [2021-11-10T01:44:58.716Z] nexus3.edgexfoundry.org:10003 [2021-11-10T01:44:58.995Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-10T01:44:59.268Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-10T01:44:59.268Z] Configure a credential helper to remove this warning. See [2021-11-10T01:44:59.268Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-10T01:44:59.268Z] [2021-11-10T01:44:59.268Z] Login Succeeded [2021-11-10T01:44:59.268Z] nexus3.edgexfoundry.org:10004 [2021-11-10T01:44:59.545Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-10T01:44:59.820Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-10T01:44:59.820Z] Configure a credential helper to remove this warning. See [2021-11-10T01:44:59.820Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-10T01:44:59.820Z] [2021-11-10T01:44:59.820Z] Login Succeeded [2021-11-10T01:44:59.820Z] docker.io [2021-11-10T01:45:00.102Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-10T01:45:00.706Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-10T01:45:00.706Z] Configure a credential helper to remove this warning. See [2021-11-10T01:45:00.706Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-10T01:45:00.706Z] [2021-11-10T01:45:00.706Z] Login Succeeded [2021-11-10T01:45:00.706Z] ---> docker-login.sh ends [Pipeline] } [2021-11-10T01:45:00.740Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-11-10T01:45:01.326Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-10T01:45:01.355Z] ========================================================= [2021-11-10T01:45:01.355Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-11-10T01:45:01.355Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-11-10T01:45:02.662Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine --build-arg MAKE=echo noop --target=builder . [2021-11-10T01:45:02.662Z] Sending build context to Docker daemon 2.776MB [2021-11-10T01:45:02.662Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2021-11-10T01:45:02.662Z] Step 2/10 : FROM ${BASE} AS builder [2021-11-10T01:45:02.662Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-11-10T01:45:02.662Z] 552d1f2373af: Pulling fs layer [2021-11-10T01:45:02.662Z] ea3f2d53f512: Pulling fs layer [2021-11-10T01:45:02.662Z] 9e70ebbbe112: Pulling fs layer [2021-11-10T01:45:02.662Z] 7a9cfe048b4a: Pulling fs layer [2021-11-10T01:45:02.662Z] 72dc09318566: Pulling fs layer [2021-11-10T01:45:02.662Z] f4f7b4309257: Pulling fs layer [2021-11-10T01:45:02.662Z] 0ac9a79272e3: Pulling fs layer [2021-11-10T01:45:02.662Z] b78e95d17946: Pulling fs layer [2021-11-10T01:45:02.662Z] 72dc09318566: Waiting [2021-11-10T01:45:02.662Z] f4f7b4309257: Waiting [2021-11-10T01:45:02.662Z] 0ac9a79272e3: Waiting [2021-11-10T01:45:02.662Z] b78e95d17946: Waiting [2021-11-10T01:45:02.662Z] 7a9cfe048b4a: Waiting [2021-11-10T01:45:02.662Z] 9e70ebbbe112: Verifying Checksum [2021-11-10T01:45:02.662Z] 9e70ebbbe112: Download complete [2021-11-10T01:45:02.662Z] ea3f2d53f512: Verifying Checksum [2021-11-10T01:45:02.662Z] ea3f2d53f512: Download complete [2021-11-10T01:45:02.662Z] 72dc09318566: Verifying Checksum [2021-11-10T01:45:02.662Z] 72dc09318566: Download complete [2021-11-10T01:45:02.662Z] f4f7b4309257: Verifying Checksum [2021-11-10T01:45:02.662Z] f4f7b4309257: Download complete [2021-11-10T01:45:02.662Z] 552d1f2373af: Download complete [2021-11-10T01:45:02.662Z] 0ac9a79272e3: Verifying Checksum [2021-11-10T01:45:02.662Z] 0ac9a79272e3: Download complete [2021-11-10T01:45:03.670Z] 552d1f2373af: Pull complete [2021-11-10T01:45:04.675Z] ea3f2d53f512: Pull complete [2021-11-10T01:45:05.293Z] b78e95d17946: Verifying Checksum [2021-11-10T01:45:05.293Z] b78e95d17946: Download complete [2021-11-10T01:45:05.293Z] 9e70ebbbe112: Pull complete [2021-11-10T01:45:05.593Z] 7a9cfe048b4a: Verifying Checksum [2021-11-10T01:45:05.593Z] 7a9cfe048b4a: Download complete [2021-11-10T01:45:18.121Z] 7a9cfe048b4a: Pull complete [2021-11-10T01:45:18.121Z] 72dc09318566: Pull complete [2021-11-10T01:45:18.121Z] f4f7b4309257: Pull complete [2021-11-10T01:45:18.725Z] 0ac9a79272e3: Pull complete [2021-11-10T01:45:24.784Z] b78e95d17946: Pull complete [2021-11-10T01:45:25.065Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2021-11-10T01:45:25.065Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-11-10T01:45:25.065Z] ---> 8b459fc5aaf0 [2021-11-10T01:45:25.065Z] Step 3/10 : ARG MAKE=make build [2021-11-10T01:45:26.057Z] ---> Running in 11ad85fc6fb8 [2021-11-10T01:45:26.342Z] Removing intermediate container 11ad85fc6fb8 [2021-11-10T01:45:26.342Z] ---> aadb1e6f46db [2021-11-10T01:45:26.342Z] Step 4/10 : WORKDIR /device-sdk-go [2021-11-10T01:45:26.342Z] ---> Running in 4321a2ebf5aa [2021-11-10T01:45:26.944Z] Removing intermediate container 4321a2ebf5aa [2021-11-10T01:45:26.944Z] ---> 284fdcf08144 [2021-11-10T01:45:26.944Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-10T01:45:26.944Z] ---> Running in 4d0c0563941f [2021-11-10T01:45:27.550Z] Removing intermediate container 4d0c0563941f [2021-11-10T01:45:27.550Z] ---> 5381abe7643e [2021-11-10T01:45:27.550Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-10T01:45:27.550Z] ---> Running in aa2311875cb7 [2021-11-10T01:45:30.194Z] Removing intermediate container aa2311875cb7 [2021-11-10T01:45:30.194Z] ---> 103b380bc7c5 [2021-11-10T01:45:30.194Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-11-10T01:45:30.194Z] ---> Running in 0c86c02e2368 [2021-11-10T01:45:31.634Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-10T01:45:32.627Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-10T01:45:33.610Z] OK: 219 MiB in 52 packages [2021-11-10T01:45:34.598Z] Removing intermediate container 0c86c02e2368 [2021-11-10T01:45:34.598Z] ---> 1dff191d8e45 [2021-11-10T01:45:34.598Z] Step 8/10 : COPY . . [2021-11-10T01:45:36.048Z] ---> 09f3fa1c2441 [2021-11-10T01:45:36.048Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-10T01:45:36.048Z] ---> Running in bf842cebe226 [2021-11-10T01:46:57.949Z] Removing intermediate container bf842cebe226 [2021-11-10T01:46:57.949Z] ---> ccc0df864644 [2021-11-10T01:46:57.949Z] Step 10/10 : RUN ${MAKE} [2021-11-10T01:46:57.949Z] ---> Running in 77e9a71f32a0 [2021-11-10T01:46:57.949Z] noop [2021-11-10T01:46:58.949Z] Removing intermediate container 77e9a71f32a0 [2021-11-10T01:46:58.949Z] ---> 5c87bd221cbf [2021-11-10T01:46:58.949Z] Successfully built 5c87bd221cbf [2021-11-10T01:46:58.949Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-11-10T01:46:59.335Z] + docker inspect -f . ci-base-image-arm64 [2021-11-10T01:46:59.335Z] . [Pipeline] withDockerContainer [2021-11-10T01:47:00.740Z] prd-ubuntu18.04-docker-arm64-4c-16g-30123 does not seem to be running inside a container [2021-11-10T01:47:00.846Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-11-10T01:47:02.612Z] $ docker top 5ef34b2374116732942403b59963fbeae886a590a266c71ef5f40f39a6f55914 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-10T01:47:03.682Z] + go version [2021-11-10T01:47:03.682Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-11-10T01:47:03.721Z] $ docker stop --time=1 5ef34b2374116732942403b59963fbeae886a590a266c71ef5f40f39a6f55914 [2021-11-10T01:47:05.540Z] $ docker rm -f 5ef34b2374116732942403b59963fbeae886a590a266c71ef5f40f39a6f55914 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-10T01:47:06.435Z] + docker inspect -f . ci-base-image-arm64 [2021-11-10T01:47:06.435Z] . [Pipeline] withDockerContainer [2021-11-10T01:47:06.765Z] prd-ubuntu18.04-docker-arm64-4c-16g-30123 does not seem to be running inside a container [2021-11-10T01:47:06.871Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-11-10T01:47:08.561Z] $ docker top 8ca09865e2e2976937bfc94851c2546be351e500d1b771fc1dcb82d6293dfbb3 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-11-10T01:47:09.668Z] + make test [2021-11-10T01:47:09.668Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-11-10T01:47:43.365Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-11-10T01:49:06.665Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-11-10T01:49:06.665Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-11-10T01:49:06.665Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-11-10T01:49:17.608Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.373s coverage: 23.3% of statements [2021-11-10T01:49:17.608Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-11-10T01:49:17.608Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.207s coverage: 27.6% of statements [2021-11-10T01:49:17.608Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.280s coverage: 78.9% of statements [2021-11-10T01:49:17.608Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.267s coverage: 9.0% of statements [2021-11-10T01:49:17.608Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-11-10T01:49:17.608Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-11-10T01:49:17.608Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-11-10T01:49:17.608Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.422s coverage: 28.7% of statements [2021-11-10T01:49:17.608Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-11-10T01:49:19.043Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.284s coverage: 83.3% of statements [2021-11-10T01:49:19.043Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-11-10T01:49:19.043Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-11-10T01:49:19.043Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.429s coverage: 57.8% of statements [2021-11-10T01:49:24.370Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.287s coverage: 89.2% of statements [2021-11-10T01:49:24.371Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-11-10T01:49:24.371Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.224s coverage: 4.8% of statements [2021-11-10T01:49:24.371Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-11-10T01:49:24.371Z] GO111MODULE=on go vet ./... [2021-11-10T01:50:33.689Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-11-10T01:50:33.689Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-11-10T01:50:33.689Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-11-10T01:50:33.737Z] $ docker stop --time=1 8ca09865e2e2976937bfc94851c2546be351e500d1b771fc1dcb82d6293dfbb3 [2021-11-10T01:50:37.277Z] $ docker rm -f 8ca09865e2e2976937bfc94851c2546be351e500d1b771fc1dcb82d6293dfbb3 [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-10T01:50:38.496Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-11-10T01:50:38.528Z] Warning: overwriting stash ‘coverage-report’ [2021-11-10T01:50:39.172Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-10T01:50:39.812Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-11-10T01:50:40.160Z] + ls -al . [2021-11-10T01:50:40.160Z] total 300 [2021-11-10T01:50:40.160Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 10 01:50 . [2021-11-10T01:50:40.160Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 10 01:44 .. [2021-11-10T01:50:40.160Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 10 01:44 .dockerignore [2021-11-10T01:50:40.160Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 10 01:44 .git [2021-11-10T01:50:40.160Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 10 01:44 .github [2021-11-10T01:50:40.160Z] -rw-rw-r-- 1 jenkins jenkins 131 Nov 10 01:44 .gitignore [2021-11-10T01:50:40.160Z] -rw-rw-r-- 1 jenkins jenkins 24816 Nov 10 01:44 CHANGELOG.md [2021-11-10T01:50:40.160Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 10 01:44 GOVERNANCE.md [2021-11-10T01:50:40.160Z] -rw-rw-r-- 1 jenkins jenkins 880 Nov 10 01:44 Jenkinsfile [2021-11-10T01:50:40.160Z] -rw-rw-r-- 1 jenkins jenkins 11341 Nov 10 01:44 LICENSE [2021-11-10T01:50:40.160Z] -rw-rw-r-- 1 jenkins jenkins 1120 Nov 10 01:44 Makefile [2021-11-10T01:50:40.160Z] -rw-rw-r-- 1 jenkins jenkins 619 Nov 10 01:44 OWNERS.md [2021-11-10T01:50:40.160Z] -rw-rw-r-- 1 jenkins jenkins 4877 Nov 10 01:44 README.md [2021-11-10T01:50:40.160Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 10 00:50 VERSION [2021-11-10T01:50:40.160Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 10 01:44 bin [2021-11-10T01:50:40.160Z] -rw-r--r-- 1 jenkins jenkins 128369 Nov 10 01:49 coverage.out [2021-11-10T01:50:40.160Z] drwxrwxr-x 5 jenkins jenkins 4096 Nov 10 01:44 example [2021-11-10T01:50:40.160Z] -rw-rw-r-- 1 jenkins jenkins 602 Nov 10 01:44 go.mod [2021-11-10T01:50:40.160Z] -rw-rw-r-- 1 jenkins jenkins 49022 Nov 10 01:44 go.sum [2021-11-10T01:50:40.160Z] drwxrwxr-x 15 jenkins jenkins 4096 Nov 10 01:44 internal [2021-11-10T01:50:40.160Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 10 01:44 openapi [2021-11-10T01:50:40.160Z] drwxrwxr-x 5 jenkins jenkins 4096 Nov 10 01:44 pkg [2021-11-10T01:50:40.160Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 10 01:44 snap [2021-11-10T01:50:40.160Z] -rw-rw-r-- 1 jenkins jenkins 222 Nov 10 01:44 version.go [Pipeline] isUnix [Pipeline] sh [2021-11-10T01:50:40.549Z] + 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=6cc4e6984e1dc64463708859471cce2a42b1084b --label arch=arm64 --label version=0.0.0 . [2021-11-10T01:50:41.145Z] Sending build context to Docker daemon 2.905MB [2021-11-10T01:50:41.145Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-11-10T01:50:41.145Z] Step 2/24 : FROM ${BASE} AS builder [2021-11-10T01:50:41.145Z] ---> 5c87bd221cbf [2021-11-10T01:50:41.145Z] Step 3/24 : ARG MAKE=make build [2021-11-10T01:50:41.145Z] ---> Running in d13f909fe643 [2021-11-10T01:50:42.471Z] Removing intermediate container d13f909fe643 [2021-11-10T01:50:42.471Z] ---> be8134fd9168 [2021-11-10T01:50:42.471Z] Step 4/24 : WORKDIR /device-sdk-go [2021-11-10T01:50:42.471Z] ---> Running in 0e03d72f3c6d [2021-11-10T01:50:42.471Z] Removing intermediate container 0e03d72f3c6d [2021-11-10T01:50:42.471Z] ---> 2e50a517f9a9 [2021-11-10T01:50:42.472Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-10T01:50:42.472Z] ---> Running in 2e383f9b698e [2021-11-10T01:50:42.743Z] Removing intermediate container 2e383f9b698e [2021-11-10T01:50:42.743Z] ---> 99d89a5f02d5 [2021-11-10T01:50:42.743Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-10T01:50:42.743Z] ---> Running in 3ff35bc8bbbd [2021-11-10T01:50:44.757Z] Removing intermediate container 3ff35bc8bbbd [2021-11-10T01:50:44.757Z] ---> ce8237a7918a [2021-11-10T01:50:44.757Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-11-10T01:50:44.757Z] ---> Running in b4f1740392dc [2021-11-10T01:50:46.209Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-10T01:50:47.188Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-10T01:50:48.371Z] OK: 219 MiB in 52 packages [2021-11-10T01:50:48.656Z] Removing intermediate container b4f1740392dc [2021-11-10T01:50:48.656Z] ---> 52d30b23447e [2021-11-10T01:50:48.656Z] Step 8/24 : COPY . . [2021-11-10T01:50:50.094Z] ---> feb83cafd59d [2021-11-10T01:50:50.094Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-10T01:50:50.094Z] ---> Running in a1493f89409c [2021-11-10T01:50:52.713Z] Removing intermediate container a1493f89409c [2021-11-10T01:50:52.713Z] ---> c02151e85bce [2021-11-10T01:50:52.713Z] Step 10/24 : RUN ${MAKE} [2021-11-10T01:50:52.713Z] ---> Running in 347db5c1d869 [2021-11-10T01:50:54.153Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-11-10T01:51:33.187Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-11-10T01:51:33.187Z] Removing intermediate container 347db5c1d869 [2021-11-10T01:51:33.187Z] ---> 2af3ce0ea51f [2021-11-10T01:51:33.187Z] Step 11/24 : FROM alpine:3.14 [2021-11-10T01:51:38.604Z] 3.14: Pulling from library/alpine [2021-11-10T01:51:38.604Z] 552d1f2373af: Already exists [2021-11-10T01:51:38.604Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-11-10T01:51:38.604Z] Status: Downloaded newer image for alpine:3.14 [2021-11-10T01:51:38.604Z] ---> bb3de5531c18 [2021-11-10T01:51:38.604Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-10T01:51:38.604Z] ---> Running in 56c6bebb69f2 [2021-11-10T01:51:38.885Z] Removing intermediate container 56c6bebb69f2 [2021-11-10T01:51:38.885Z] ---> d8669df2dad2 [2021-11-10T01:51:38.885Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-10T01:51:38.885Z] ---> Running in d94cebee9165 [2021-11-10T01:51:40.873Z] Removing intermediate container d94cebee9165 [2021-11-10T01:51:40.873Z] ---> 8393d967f19e [2021-11-10T01:51:40.873Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2021-11-10T01:51:40.873Z] ---> Running in b70c79171486 [2021-11-10T01:51:42.316Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-10T01:51:43.293Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-10T01:51:43.887Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2021-11-10T01:51:43.887Z] (2/5) Installing libsodium (1.0.18-r0) [2021-11-10T01:51:44.160Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2021-11-10T01:51:44.160Z] (4/5) Installing libzmq (4.3.4-r0) [2021-11-10T01:51:44.436Z] (5/5) Installing zeromq (4.3.4-r0) [2021-11-10T01:51:44.436Z] Executing busybox-1.33.1-r3.trigger [2021-11-10T01:51:44.436Z] OK: 8 MiB in 19 packages [2021-11-10T01:51:45.418Z] Removing intermediate container b70c79171486 [2021-11-10T01:51:45.418Z] ---> 36b157b738c5 [2021-11-10T01:51:45.418Z] Step 15/24 : WORKDIR / [2021-11-10T01:51:45.418Z] ---> Running in d1640a1b46b0 [2021-11-10T01:51:46.015Z] Removing intermediate container d1640a1b46b0 [2021-11-10T01:51:46.015Z] ---> 0dbc255ebf3b [2021-11-10T01:51:46.015Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-11-10T01:51:46.609Z] ---> 65a96f20d812 [2021-11-10T01:51:46.609Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-11-10T01:51:48.042Z] ---> f2b0effa91e1 [2021-11-10T01:51:48.042Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-11-10T01:51:48.635Z] ---> 6e7b930d4594 [2021-11-10T01:51:48.635Z] Step 19/24 : EXPOSE 59999 [2021-11-10T01:51:48.635Z] ---> Running in b84c4e9c62c3 [2021-11-10T01:51:48.909Z] Removing intermediate container b84c4e9c62c3 [2021-11-10T01:51:48.909Z] ---> 047d4f7ad61c [2021-11-10T01:51:48.909Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2021-11-10T01:51:49.183Z] ---> Running in 98fb1b9277a8 [2021-11-10T01:51:49.457Z] Removing intermediate container 98fb1b9277a8 [2021-11-10T01:51:49.457Z] ---> 9a6b2c16ec62 [2021-11-10T01:51:49.457Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-11-10T01:51:49.731Z] ---> Running in a5124834c9c5 [2021-11-10T01:51:50.004Z] Removing intermediate container a5124834c9c5 [2021-11-10T01:51:50.004Z] ---> 0050e820f651 [2021-11-10T01:51:50.004Z] Step 22/24 : LABEL arch=arm64 [2021-11-10T01:51:50.277Z] ---> Running in ee9ae23658d6 [2021-11-10T01:51:50.562Z] Removing intermediate container ee9ae23658d6 [2021-11-10T01:51:50.562Z] ---> 8e6b1656fbfe [2021-11-10T01:51:50.562Z] Step 23/24 : LABEL git_sha=6cc4e6984e1dc64463708859471cce2a42b1084b [2021-11-10T01:51:50.562Z] ---> Running in 2ae38e6dd19e [2021-11-10T01:51:51.157Z] Removing intermediate container 2ae38e6dd19e [2021-11-10T01:51:51.157Z] ---> 72a749b4ace1 [2021-11-10T01:51:51.157Z] Step 24/24 : LABEL version=0.0.0 [2021-11-10T01:51:51.157Z] ---> Running in bdd754b7c5cc [2021-11-10T01:51:51.748Z] Removing intermediate container bdd754b7c5cc [2021-11-10T01:51:51.748Z] ---> 5fafbd79497f [2021-11-10T01:51:51.748Z] [Warning] One or more build-args [ARCH] were not consumed [2021-11-10T01:51:51.748Z] Successfully built 5fafbd79497f [2021-11-10T01:51:51.748Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-10T01:51:52.515Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-10T01:51:52.795Z] [2021-11-10T01:51:52.795Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-11-10T01:51:53.172Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-10T01:51:53.445Z] arm64: Pulling from edgex-lftools-log-publisher [2021-11-10T01:51:53.445Z] 448f6bf000e3: Pulling fs layer [2021-11-10T01:51:53.445Z] f757da607395: Pulling fs layer [2021-11-10T01:51:53.445Z] 05883995daec: Pulling fs layer [2021-11-10T01:51:53.445Z] 8603b9c90790: Pulling fs layer [2021-11-10T01:51:53.445Z] 1560dd03e051: Pulling fs layer [2021-11-10T01:51:53.445Z] 27f5ce0e4adf: Pulling fs layer [2021-11-10T01:51:53.445Z] c2d8d7efcc4b: Pulling fs layer [2021-11-10T01:51:53.445Z] 8603b9c90790: Waiting [2021-11-10T01:51:53.445Z] 1560dd03e051: Waiting [2021-11-10T01:51:53.445Z] 27f5ce0e4adf: Waiting [2021-11-10T01:51:53.445Z] c2d8d7efcc4b: Waiting [2021-11-10T01:51:53.445Z] f757da607395: Verifying Checksum [2021-11-10T01:51:53.445Z] f757da607395: Download complete [2021-11-10T01:51:53.445Z] 8603b9c90790: Verifying Checksum [2021-11-10T01:51:53.445Z] 8603b9c90790: Download complete [2021-11-10T01:51:53.720Z] 1560dd03e051: Verifying Checksum [2021-11-10T01:51:53.720Z] 1560dd03e051: Download complete [2021-11-10T01:51:53.720Z] 27f5ce0e4adf: Verifying Checksum [2021-11-10T01:51:53.720Z] 27f5ce0e4adf: Download complete [2021-11-10T01:51:53.720Z] 05883995daec: Verifying Checksum [2021-11-10T01:51:53.720Z] 05883995daec: Download complete [2021-11-10T01:51:53.996Z] 448f6bf000e3: Verifying Checksum [2021-11-10T01:51:53.996Z] 448f6bf000e3: Download complete [2021-11-10T01:51:56.617Z] c2d8d7efcc4b: Verifying Checksum [2021-11-10T01:51:56.617Z] c2d8d7efcc4b: Download complete [2021-11-10T01:51:57.597Z] 448f6bf000e3: Pull complete [2021-11-10T01:51:58.195Z] f757da607395: Pull complete [2021-11-10T01:51:59.628Z] 05883995daec: Pull complete [2021-11-10T01:51:59.900Z] 8603b9c90790: Pull complete [2021-11-10T01:52:00.876Z] 1560dd03e051: Pull complete [2021-11-10T01:52:01.471Z] 27f5ce0e4adf: Pull complete [2021-11-10T01:52:16.638Z] c2d8d7efcc4b: Pull complete [2021-11-10T01:52:16.638Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-11-10T01:52:16.638Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-10T01:52:16.638Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-11-10T01:52:16.926Z] prd-ubuntu18.04-docker-arm64-4c-16g-30123 does not seem to be running inside a container [2021-11-10T01:52:17.009Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-11-10T01:52:21.231Z] $ docker top 6ae3d3d7c74b1c260b071348b93f9aee17b23506646784b0481762c15432d309 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-10T01:52:22.273Z] ---> job-cost.sh [2021-11-10T01:52:22.273Z] lf-activate-venv: SKIPPING [2021-11-10T01:52:22.273Z] INFO: No Stack... [2021-11-10T01:52:27.658Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-11-10T01:52:27.658Z] INFO: Archiving Costs [Pipeline] sh [2021-11-10T01:52:28.328Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2021-11-10T01:52:28.328Z] + cut -d, -f6 [Pipeline] lock [2021-11-10T01:52:28.410Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1061-1-stack-cost] [2021-11-10T01:52:28.415Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1061-1-stack-cost] did not exist. Created. [2021-11-10T01:52:28.415Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1061-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-11-10T01:52:29.134Z] /w/workspace/device-sdk-go/1@tmp/durable-810eac7f/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-810eac7f/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-11-10T01:52:29.810Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-11-10T01:52:29.843Z] Warning: overwriting stash ‘stack-cost’ [2021-11-10T01:52:29.906Z] Stashed 1 file(s) [Pipeline] } [2021-11-10T01:52:29.928Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1061-1-stack-cost] [Pipeline] // lock [Pipeline] } [2021-11-10T01:52:29.995Z] $ docker stop --time=1 6ae3d3d7c74b1c260b071348b93f9aee17b23506646784b0481762c15432d309 [2021-11-10T01:52:32.193Z] $ docker rm -f 6ae3d3d7c74b1c260b071348b93f9aee17b23506646784b0481762c15432d309 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2021-11-10T01:52:33.251Z] provisioning config files... [2021-11-10T01:52:33.260Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1061@tmp/config1643180073022321636tmp [Pipeline] { [Pipeline] sh [2021-11-10T01:52:33.595Z] + set +x [2021-11-10T01:52:33.595Z] + curl -s https://codecov.io/bash [2021-11-10T01:52:33.595Z] + bash -s -- [2021-11-10T01:52:33.595Z] [2021-11-10T01:52:33.595Z] _____ _ [2021-11-10T01:52:33.595Z] / ____| | | [2021-11-10T01:52:33.595Z] | | ___ __| | ___ ___ _____ __ [2021-11-10T01:52:33.595Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-11-10T01:52:33.595Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-11-10T01:52:33.595Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-11-10T01:52:33.595Z] Bash-1.0.6 [2021-11-10T01:52:33.595Z] [2021-11-10T01:52:33.595Z] [2021-11-10T01:52:33.595Z] ==> git version 2.24.4 found [2021-11-10T01:52:33.595Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-11-10T01:52:33.595Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-11-10T01:52:33.595Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-11-10T01:52:33.595Z] ==> Jenkins CI detected. [2021-11-10T01:52:33.595Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1061 [2021-11-10T01:52:33.595Z] project root: . [2021-11-10T01:52:33.596Z] --> token set from env [2021-11-10T01:52:33.596Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-11-10T01:52:33.596Z] ==> Running gcov in . (disable via -X gcov) [2021-11-10T01:52:33.596Z] ==> Python coveragepy not found [2021-11-10T01:52:33.596Z] ==> Searching for coverage reports in: [2021-11-10T01:52:33.596Z] + . [2021-11-10T01:52:33.596Z] -> Found 1 reports [2021-11-10T01:52:33.596Z] ==> Detecting git/mercurial file structure [2021-11-10T01:52:33.596Z] ==> Reading reports [2021-11-10T01:52:33.596Z] + ./coverage.out bytes=128369 [2021-11-10T01:52:33.596Z] ==> Appending adjustments [2021-11-10T01:52:33.596Z] https://docs.codecov.io/docs/fixing-reports [2021-11-10T01:52:33.861Z] + Found adjustments [2021-11-10T01:52:33.861Z] ==> Gzipping contents [2021-11-10T01:52:33.861Z] 16K /tmp/codecov.Oi3SxJ.gz [2021-11-10T01:52:33.861Z] ==> Uploading reports [2021-11-10T01:52:33.861Z] url: https://codecov.io [2021-11-10T01:52:33.861Z] query: branch=PR-1061&commit=6cc4e6984e1dc64463708859471cce2a42b1084b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1061%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1061&job=&cmd_args= [2021-11-10T01:52:33.861Z] -> Pinging Codecov [2021-11-10T01:52:33.862Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1061&commit=6cc4e6984e1dc64463708859471cce2a42b1084b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1061%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1061&job=&cmd_args= [2021-11-10T01:52:34.434Z] -> Uploading to [2021-11-10T01:52:34.434Z] https://storage.googleapis.com/codecov/v4/raw/2021-11-10/7E55EF52A471D76F132DFD9A03CDDE97/6cc4e6984e1dc64463708859471cce2a42b1084b/a60dfe55-8ca2-439b-b5dd-2edeeec3fcef.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211110%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211110T015234Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=38b3e66bad37b7e1e8a0a1c543908d7523c3120ec560c5933e76e69c27f95b9f [2021-11-10T01:52:34.434Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-11-10T01:52:34.434Z] Dload Upload Total Spent Left Speed [2021-11-10T01:52:34.694Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16306 0 0 100 16306 0 46197 --:--:-- --:--:-- --:--:-- 46192 100 16306 0 0 100 16306 0 46178 --:--:-- --:--:-- --:--:-- 46192 [2021-11-10T01:52:34.694Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/6cc4e6984e1dc64463708859471cce2a42b1084b [Pipeline] } [2021-11-10T01:52:34.712Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2021-11-10T01:52:38.272Z] + '[' -d /w/workspace/gexfoundry_device-sdk-go_PR-1061/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-11-10T01:52:38.773Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-10T01:52:39.385Z] ---> package-listing.sh [2021-11-10T01:52:39.385Z] ++ tr '[:upper:]' '[:lower:]' [2021-11-10T01:52:39.385Z] ++ facter osfamily [2021-11-10T01:52:39.649Z] + OS_FAMILY=redhat [2021-11-10T01:52:39.649Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1061 [2021-11-10T01:52:39.649Z] + START_PACKAGES=/tmp/packages_start.txt [2021-11-10T01:52:39.649Z] + END_PACKAGES=/tmp/packages_end.txt [2021-11-10T01:52:39.649Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-11-10T01:52:39.649Z] + PACKAGES=/tmp/packages_start.txt [2021-11-10T01:52:39.649Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1061 ']' [2021-11-10T01:52:39.649Z] + PACKAGES=/tmp/packages_end.txt [2021-11-10T01:52:39.649Z] + case "${OS_FAMILY}" in [2021-11-10T01:52:39.649Z] + rpm -qa [2021-11-10T01:52:39.649Z] + sort [2021-11-10T01:52:40.219Z] + '[' -f /tmp/packages_start.txt ']' [2021-11-10T01:52:40.219Z] + '[' -f /tmp/packages_end.txt ']' [2021-11-10T01:52:40.219Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-11-10T01:52:40.219Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1061 ']' [2021-11-10T01:52:40.219Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1061/archives/ [2021-11-10T01:52:40.219Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1061/archives/ [Pipeline] echo [2021-11-10T01:52:40.248Z] 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-1061/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-11-10T01:52:40.550Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-11-10T01:52:40.882Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-10T01:52:40.882Z] [2021-11-10T01:52:40.882Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-11-10T01:52:41.213Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-10T01:52:41.213Z] latest: Pulling from edgex-lftools-log-publisher [2021-11-10T01:52:41.213Z] b4d181a07f80: Pulling fs layer [2021-11-10T01:52:41.213Z] a1111a8f2ec3: Pulling fs layer [2021-11-10T01:52:41.213Z] ed53099fbce6: Pulling fs layer [2021-11-10T01:52:41.213Z] dc539afda2c1: Pulling fs layer [2021-11-10T01:52:41.213Z] 77bc0d833cb6: Pulling fs layer [2021-11-10T01:52:41.213Z] 9065ff56babe: Pulling fs layer [2021-11-10T01:52:41.213Z] d287ab97295c: Pulling fs layer [2021-11-10T01:52:41.213Z] dc539afda2c1: Waiting [2021-11-10T01:52:41.213Z] 77bc0d833cb6: Waiting [2021-11-10T01:52:41.213Z] 9065ff56babe: Waiting [2021-11-10T01:52:41.213Z] d287ab97295c: Waiting [2021-11-10T01:52:41.213Z] a1111a8f2ec3: Verifying Checksum [2021-11-10T01:52:41.213Z] a1111a8f2ec3: Download complete [2021-11-10T01:52:41.213Z] dc539afda2c1: Verifying Checksum [2021-11-10T01:52:41.213Z] dc539afda2c1: Download complete [2021-11-10T01:52:41.213Z] ed53099fbce6: Verifying Checksum [2021-11-10T01:52:41.213Z] ed53099fbce6: Download complete [2021-11-10T01:52:41.475Z] 77bc0d833cb6: Verifying Checksum [2021-11-10T01:52:41.475Z] 77bc0d833cb6: Download complete [2021-11-10T01:52:41.475Z] 9065ff56babe: Verifying Checksum [2021-11-10T01:52:41.475Z] 9065ff56babe: Download complete [2021-11-10T01:52:41.475Z] b4d181a07f80: Verifying Checksum [2021-11-10T01:52:41.475Z] b4d181a07f80: Download complete [2021-11-10T01:52:42.050Z] d287ab97295c: Verifying Checksum [2021-11-10T01:52:42.050Z] d287ab97295c: Download complete [2021-11-10T01:52:42.994Z] b4d181a07f80: Pull complete [2021-11-10T01:52:42.994Z] a1111a8f2ec3: Pull complete [2021-11-10T01:52:43.570Z] ed53099fbce6: Pull complete [2021-11-10T01:52:43.570Z] dc539afda2c1: Pull complete [2021-11-10T01:52:43.830Z] 77bc0d833cb6: Pull complete [2021-11-10T01:52:44.089Z] 9065ff56babe: Pull complete [2021-11-10T01:52:49.409Z] d287ab97295c: Pull complete [2021-11-10T01:52:49.409Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-11-10T01:52:49.409Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-10T01:52:49.409Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-11-10T01:52:49.484Z] prd-centos7-docker-4c-2g-29445 does not seem to be running inside a container [2021-11-10T01:52:49.519Z] $ 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-1061/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-1061 -v /w/workspace/gexfoundry_device-sdk-go_PR-1061:/w/workspace/gexfoundry_device-sdk-go_PR-1061:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1061@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1061@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-11-10T01:52:52.477Z] $ docker top 5f7beb55a795014b3df5753e7b4b7ca44820b84f3700aa76f3a0804cdf57512b -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-10T01:52:53.687Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-11-10T01:52:53.994Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-11-10T01:52:54.300Z] + ls /var/log/sa-host [2021-11-10T01:52:54.300Z] + sadf -c /var/log/sa-host/sa10 [2021-11-10T01:52:54.300Z] file_magic: OK [2021-11-10T01:52:54.300Z] HZ: Using current value: 100 [2021-11-10T01:52:54.300Z] file_header: OK [2021-11-10T01:52:54.300Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-11-10T01:52:54.300Z] Statistics: [2021-11-10T01:52:54.300Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-11-10T01:52:54.300Z] File successfully converted to sysstat format version 12.0.3 [2021-11-10T01:52:54.300Z] + sadf -c /var/log/sa-host/sa30 [2021-11-10T01:52:54.300Z] file_magic: OK [2021-11-10T01:52:54.300Z] HZ: Using current value: 100 [2021-11-10T01:52:54.300Z] file_header: OK [2021-11-10T01:52:54.300Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-11-10T01:52:54.300Z] Statistics: [2021-11-10T01:52:54.300Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-11-10T01:52:54.300Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-10T01:52:54.437Z] provisioning config files... [2021-11-10T01:52:54.449Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1061@tmp/config2409149171175313309tmp [Pipeline] { [Pipeline] echo [2021-11-10T01:52:54.486Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-10T01:52:54.811Z] ---> create-netrc.sh [Pipeline] } [2021-11-10T01:52:54.831Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-11-10T01:52:55.209Z] ---> python-tools-install.sh [Pipeline] echo [2021-11-10T01:52:55.231Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-10T01:52:55.545Z] ---> sudo-logs.sh [2021-11-10T01:52:55.545Z] Archiving 'sudo' log.. [2021-11-10T01:52:55.545Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-29445.novalocal: Name or service not known [2021-11-10T01:52:55.545Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-29445.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-11-10T01:52:55.602Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-10T01:52:55.926Z] ---> job-cost.sh [2021-11-10T01:52:55.926Z] lf-activate-venv: SKIPPING [2021-11-10T01:52:55.926Z] DEBUG: total: 0.10999999940395355 [2021-11-10T01:52:55.926Z] INFO: Retrieving Stack Cost... [2021-11-10T01:52:56.187Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-11-10T01:52:56.453Z] INFO: Archiving Costs [Pipeline] echo [2021-11-10T01:52:56.478Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-10T01:52:56.797Z] ---> logs-deploy.sh [2021-11-10T01:52:56.797Z] lf-activate-venv: SKIPPING [2021-11-10T01:52:56.797Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1061/1 [2021-11-10T01:52:56.797Z] INFO: archiving workspace using pattern(s): [2021-11-10T01:52:57.368Z] Archives upload complete. [2021-11-10T01:52:57.631Z] INFO: archiving logs to Nexus