Pull request #1054 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 weichou1229 for edgexfoundry/device-sdk-go Loading trusted files from base branch main at 35284aa85d24a35feb544b47ef7c3f5e59bdf77f rather than 7f6b1a2a492bb9697e7f8e1c12b53f8693f3ed96 Obtained Jenkinsfile from 35284aa85d24a35feb544b47ef7c3f5e59bdf77f 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-ssh6173533307005838338.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-ssh865432137585133654.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-1054/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-1054/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh8166992333333839921.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-1054/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh616696588393037085.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-ssh1662600135337647790.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-1054/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-1054/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh5072800460407776581.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 Running on prd-centos7-docker-4c-2g-27712 in /w/workspace/gexfoundry_device-sdk-go_PR-1054 [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-1054 # 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-1054@tmp/jenkins-gitclient-ssh6672232219277593209.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-1054@tmp/jenkins-gitclient-ssh8235674837385282541.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1054/head:refs/remotes/origin/PR-1054 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 35284aa85d24a35feb544b47ef7c3f5e59bdf77f into PR head commit 7f6b1a2a492bb9697e7f8e1c12b53f8693f3ed96 Merge succeeded, producing 7f6b1a2a492bb9697e7f8e1c12b53f8693f3ed96 Checking out Revision 7f6b1a2a492bb9697e7f8e1c12b53f8693f3ed96 (PR-1054) > git config core.sparsecheckout # timeout=10 > git checkout -f 7f6b1a2a492bb9697e7f8e1c12b53f8693f3ed96 # 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-1054@tmp/jenkins-gitclient-ssh3417192299819591548.key > git merge 35284aa85d24a35feb544b47ef7c3f5e59bdf77f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7f6b1a2a492bb9697e7f8e1c12b53f8693f3ed96 # timeout=10 Commit message: "fix: Add missing StringArray value type for commandValue" 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-05T05:55:31.075Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-11-05T05:55:31.203Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-11-05T05:55:31.281Z] ========================================================= [2021-11-05T05:55:31.281Z] EdgeX Global Pipelines Version Info [2021-11-05T05:55:31.281Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2021-11-05T05:55:32.450Z] ------------------- [2021-11-05T05:55:32.450Z] stable info: [2021-11-05T05:55:32.450Z] ------------------- [2021-11-05T05:55:32.450Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-11-05T05:55:32.450Z] Commit SHA: 9a07f3f07dd1acff74ab8b51a5ea399813bb16af [2021-11-05T05:55:32.450Z] Message: update stable to v1.0.211 [2021-11-05T05:55:33.029Z] ------------------- [2021-11-05T05:55:33.029Z] experimental info: [2021-11-05T05:55:33.029Z] ------------------- [2021-11-05T05:55:33.029Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-11-05T05:55:33.029Z] Commit SHA: 9a07f3f07dd1acff74ab8b51a5ea399813bb16af [2021-11-05T05:55:33.029Z] Message: update experimental to v1.0.211 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-11-05T05:55:33.174Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-11-05T05:55:33.208Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-11-05T05:55:33.240Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-11-05T05:55:33.272Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-11-05T05:55:33.305Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-11-05T05:55:33.340Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-11-05T05:55:33.376Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2021-11-05T05:55:33.410Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-11-05T05:55:33.448Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-11-05T05:55:33.483Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-11-05T05:55:33.519Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-11-05T05:55:33.556Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-11-05T05:55:33.598Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-11-05T05:55:33.636Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-11-05T05:55:33.681Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-11-05T05:55:33.716Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-11-05T05:55:33.757Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-11-05T05:55:33.792Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-11-05T05:55:33.828Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-11-05T05:55:33.864Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-11-05T05:55:33.899Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-11-05T05:55:33.934Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-11-05T05:55:33.970Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-11-05T05:55:34.004Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-11-05T05:55:34.045Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-11-05T05:55:34.081Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-11-05T05:55:34.119Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1054 [Pipeline] echo [2021-11-05T05:55:34.157Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1054 [Pipeline] echo [2021-11-05T05:55:34.200Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1054 [Pipeline] echo [2021-11-05T05:55:34.241Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7f6b1a2a492bb9697e7f8e1c12b53f8693f3ed96 [Pipeline] echo [2021-11-05T05:55:34.284Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7f6b1a2 [Pipeline] echo [2021-11-05T05:55:34.320Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-05T05:55:34.439Z] provisioning config files... [2021-11-05T05:55:34.455Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1054@tmp/config1154748998224194779tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-05T05:55:34.799Z] ---> docker-login.sh [2021-11-05T05:55:34.799Z] nexus3.edgexfoundry.org:10001 [2021-11-05T05:55:34.799Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-05T05:55:35.065Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-05T05:55:35.065Z] Configure a credential helper to remove this warning. See [2021-11-05T05:55:35.065Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-05T05:55:35.065Z] [2021-11-05T05:55:35.065Z] Login Succeeded [2021-11-05T05:55:35.065Z] nexus3.edgexfoundry.org:10002 [2021-11-05T05:55:35.065Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-05T05:55:35.065Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-05T05:55:35.065Z] Configure a credential helper to remove this warning. See [2021-11-05T05:55:35.065Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-05T05:55:35.065Z] [2021-11-05T05:55:35.065Z] Login Succeeded [2021-11-05T05:55:35.065Z] nexus3.edgexfoundry.org:10003 [2021-11-05T05:55:35.329Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-05T05:55:35.329Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-05T05:55:35.329Z] Configure a credential helper to remove this warning. See [2021-11-05T05:55:35.329Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-05T05:55:35.329Z] [2021-11-05T05:55:35.329Z] Login Succeeded [2021-11-05T05:55:35.329Z] nexus3.edgexfoundry.org:10004 [2021-11-05T05:55:35.329Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-05T05:55:35.329Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-05T05:55:35.329Z] Configure a credential helper to remove this warning. See [2021-11-05T05:55:35.329Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-05T05:55:35.329Z] [2021-11-05T05:55:35.329Z] Login Succeeded [2021-11-05T05:55:35.329Z] docker.io [2021-11-05T05:55:35.595Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-05T05:55:35.857Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-05T05:55:35.857Z] Configure a credential helper to remove this warning. See [2021-11-05T05:55:35.857Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-05T05:55:35.857Z] [2021-11-05T05:55:35.857Z] Login Succeeded [2021-11-05T05:55:35.857Z] ---> docker-login.sh ends [Pipeline] } [2021-11-05T05:55:35.878Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2021-11-05T05:55:36.471Z] + git rev-list -1 --merges 7f6b1a2a492bb9697e7f8e1c12b53f8693f3ed96~1..7f6b1a2a492bb9697e7f8e1c12b53f8693f3ed96 [Pipeline] echo [2021-11-05T05:55:36.524Z] -----------> git rev-list -1 --merges 7f6b1a2a492bb9697e7f8e1c12b53f8693f3ed96~1..7f6b1a2a492bb9697e7f8e1c12b53f8693f3ed96 7f6b1a2a492bb9697e7f8e1c12b53f8693f3ed96 [false] [Pipeline] sh [2021-11-05T05:55:36.841Z] + git log --format=format:%s -1 7f6b1a2a492bb9697e7f8e1c12b53f8693f3ed96 [Pipeline] echo [2021-11-05T05:55:36.871Z] ========================================================= [2021-11-05T05:55:36.871Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2021-11-05T05:55:36.871Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-05T05:55:37.298Z] + git log --format=format:%s -1 7f6b1a2a492bb9697e7f8e1c12b53f8693f3ed96 [Pipeline] echo [2021-11-05T05:55:37.337Z] [semverPrep] GIT_COMMIT: 7f6b1a2a492bb9697e7f8e1c12b53f8693f3ed96, Commit Message: fix: Add missing StringArray value type for commandValue [Pipeline] echo [2021-11-05T05:55:37.366Z] [semverPrep] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-11-05T05:55:38.032Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-05T05:55:38.032Z] [2021-11-05T05:55:38.032Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-11-05T05:55:38.389Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-05T05:55:38.389Z] latest: Pulling from edgex-devops/git-semver [2021-11-05T05:55:38.389Z] a0d0a0d46f8b: Pulling fs layer [2021-11-05T05:55:38.389Z] 3e5f54012d9b: Pulling fs layer [2021-11-05T05:55:38.389Z] 4c7163046ea9: Pulling fs layer [2021-11-05T05:55:38.389Z] 0c2d73faf560: Pulling fs layer [2021-11-05T05:55:38.389Z] 0c2d73faf560: Waiting [2021-11-05T05:55:38.389Z] 3e5f54012d9b: Verifying Checksum [2021-11-05T05:55:38.389Z] 3e5f54012d9b: Download complete [2021-11-05T05:55:38.389Z] a0d0a0d46f8b: Verifying Checksum [2021-11-05T05:55:38.389Z] a0d0a0d46f8b: Download complete [2021-11-05T05:55:38.655Z] 0c2d73faf560: Verifying Checksum [2021-11-05T05:55:38.655Z] 0c2d73faf560: Download complete [2021-11-05T05:55:38.655Z] 4c7163046ea9: Verifying Checksum [2021-11-05T05:55:38.655Z] 4c7163046ea9: Download complete [2021-11-05T05:55:38.655Z] a0d0a0d46f8b: Pull complete [2021-11-05T05:55:38.655Z] 3e5f54012d9b: Pull complete [2021-11-05T05:55:39.233Z] 4c7163046ea9: Pull complete [2021-11-05T05:55:39.233Z] 0c2d73faf560: Pull complete [2021-11-05T05:55:39.233Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-11-05T05:55:39.233Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-11-05T05:55:39.233Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-11-05T05:55:39.325Z] prd-centos7-docker-4c-2g-27712 does not seem to be running inside a container [2021-11-05T05:55:39.368Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1054 -v /w/workspace/gexfoundry_device-sdk-go_PR-1054:/w/workspace/gexfoundry_device-sdk-go_PR-1054:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1054@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1054@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-11-05T05:55:39.962Z] $ docker top b970d0dc651bbd3bcc8a3792708d3e3fa2a5456a2af55135f9e9f5b78eae5a6f -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-11-05T05:55:40.152Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-05T05:55:40.152Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-05T05:55:40.270Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-05T05:55:40.273Z] $ docker exec b970d0dc651bbd3bcc8a3792708d3e3fa2a5456a2af55135f9e9f5b78eae5a6f ssh-agent [2021-11-05T05:55:40.397Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXDodMhe/agent.13 [2021-11-05T05:55:40.397Z] SSH_AGENT_PID=19 [2021-11-05T05:55:40.409Z] Running ssh-add (command line suppressed) [2021-11-05T05:55:40.511Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1054@tmp/private_key_191068685090193659.key (/w/workspace/gexfoundry_device-sdk-go_PR-1054@tmp/private_key_191068685090193659.key) [2021-11-05T05:55:40.527Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-05T05:55:40.861Z] + git tag --points-at HEAD [Pipeline] } [2021-11-05T05:55:40.880Z] $ docker exec --env ******** --env ******** b970d0dc651bbd3bcc8a3792708d3e3fa2a5456a2af55135f9e9f5b78eae5a6f ssh-agent -k [2021-11-05T05:55:40.985Z] unset SSH_AUTH_SOCK; [2021-11-05T05:55:40.985Z] unset SSH_AGENT_PID; [2021-11-05T05:55:40.985Z] echo Agent pid 19 killed; [2021-11-05T05:55:40.999Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-11-05T05:55:41.070Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-11-05T05:55:41.070Z] [ssh-agent] Looking for ssh-agent implementation... [2021-11-05T05:55:41.178Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-11-05T05:55:41.180Z] $ docker exec b970d0dc651bbd3bcc8a3792708d3e3fa2a5456a2af55135f9e9f5b78eae5a6f ssh-agent [2021-11-05T05:55:41.276Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXPoPLjg/agent.52 [2021-11-05T05:55:41.276Z] SSH_AGENT_PID=59 [2021-11-05T05:55:41.282Z] Running ssh-add (command line suppressed) [2021-11-05T05:55:41.381Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1054@tmp/private_key_7841092587666936641.key (/w/workspace/gexfoundry_device-sdk-go_PR-1054@tmp/private_key_7841092587666936641.key) [2021-11-05T05:55:41.394Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-11-05T05:55:41.726Z] + git semver init [2021-11-05T05:55:41.726Z] # -> Open(): unable to determine branch for HEAD [2021-11-05T05:55:41.726Z] # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1054/.git [2021-11-05T05:55:41.726Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1054 [2021-11-05T05:55:41.726Z] # $SEMVER_REMOTE_NAME = origin [2021-11-05T05:55:41.726Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-11-05T05:55:41.726Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-11-05T05:55:41.726Z] # $SEMVER_BRANCH = PR-1054 [2021-11-05T05:55:41.726Z] # $SEMVER_TEMP = /tmp/semver-798144040 [2021-11-05T05:55:41.726Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-11-05T05:55:42.671Z] # '/tmp/semver-798144040' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1054/.semver' [2021-11-05T05:55:42.671Z] # -> Force: false [2021-11-05T05:55:42.671Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1054/.semver [Pipeline] } [2021-11-05T05:55:42.688Z] $ docker exec --env ******** --env ******** b970d0dc651bbd3bcc8a3792708d3e3fa2a5456a2af55135f9e9f5b78eae5a6f ssh-agent -k [2021-11-05T05:55:42.808Z] unset SSH_AUTH_SOCK; [2021-11-05T05:55:42.808Z] unset SSH_AGENT_PID; [2021-11-05T05:55:42.808Z] echo Agent pid 59 killed; [2021-11-05T05:55:42.818Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-11-05T05:55:43.222Z] + git semver [Pipeline] } [2021-11-05T05:55:43.243Z] $ docker stop --time=1 b970d0dc651bbd3bcc8a3792708d3e3fa2a5456a2af55135f9e9f5b78eae5a6f [2021-11-05T05:55:44.452Z] $ docker rm -f b970d0dc651bbd3bcc8a3792708d3e3fa2a5456a2af55135f9e9f5b78eae5a6f [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-05T05:55:44.853Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-11-05T05:55:45.134Z] Stashed 1 file(s) [Pipeline] echo [2021-11-05T05:55:45.151Z] [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-05T05:56:00.471Z] Still waiting to schedule task [2021-11-05T05:56:00.472Z] Waiting for next available executor on ‘prd-centos7-docker-4c-2g-27712’ [2021-11-05T05:56:00.488Z] Still waiting to schedule task [2021-11-05T05:56:00.488Z] All nodes of label ‘ubuntu18.04-docker-arm64-4c-16g’ are offline [2021-11-05T05:57:39.989Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-27713 in /w/workspace/gexfoundry_device-sdk-go_PR-1054 [Pipeline] { [Pipeline] ws [2021-11-05T05:57:40.034Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-11-05T05:57:40.279Z] Selected Git installation does not exist. Using Default [2021-11-05T05:57:40.279Z] The recommended git tool is: NONE [2021-11-05T05:57:45.296Z] using credential edgex-jenkins-ssh [2021-11-05T05:57:45.315Z] Cloning the remote Git repository [2021-11-05T05:57:45.384Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-11-05T05:57:45.531Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-11-05T05:57:45.659Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-11-05T05:57:45.660Z] > git --version # timeout=10 [2021-11-05T05:57:45.699Z] > git --version # 'git version 2.17.1' [2021-11-05T05:57:45.702Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-05T05:57:45.837Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-05T05:57:47.006Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-11-05T05:57:47.029Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-05T05:57:47.055Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-11-05T05:57:47.083Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-11-05T05:57:47.083Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-05T05:57:47.096Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1054/head:refs/remotes/origin/PR-1054 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-11-05T05:57:47.782Z] Merging remotes/origin/main commit 35284aa85d24a35feb544b47ef7c3f5e59bdf77f into PR head commit 7f6b1a2a492bb9697e7f8e1c12b53f8693f3ed96 [2021-11-05T05:57:48.009Z] Merge succeeded, producing 7f6b1a2a492bb9697e7f8e1c12b53f8693f3ed96 [2021-11-05T05:57:48.009Z] Checking out Revision 7f6b1a2a492bb9697e7f8e1c12b53f8693f3ed96 (PR-1054) [2021-11-05T05:57:47.805Z] > git config core.sparsecheckout # timeout=10 [2021-11-05T05:57:47.822Z] > git checkout -f 7f6b1a2a492bb9697e7f8e1c12b53f8693f3ed96 # timeout=10 [2021-11-05T05:57:47.926Z] > git remote # timeout=10 [2021-11-05T05:57:47.941Z] > git config --get remote.origin.url # timeout=10 [2021-11-05T05:57:47.960Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-05T05:57:47.972Z] > git merge 35284aa85d24a35feb544b47ef7c3f5e59bdf77f # timeout=10 [2021-11-05T05:57:48.000Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-11-05T05:57:48.019Z] > git config core.sparsecheckout # timeout=10 [2021-11-05T05:57:48.033Z] > git checkout -f 7f6b1a2a492bb9697e7f8e1c12b53f8693f3ed96 # timeout=10 [2021-11-05T05:57:52.219Z] Commit message: "fix: Add missing StringArray value type for commandValue" [2021-11-05T05:57:52.278Z] > git --version # timeout=10 [2021-11-05T05:57:52.291Z] > git --version # 'git version 2.17.1' [2021-11-05T05:57:52.305Z] fatal: bad object 9a07f3f07dd1acff74ab8b51a5ea399813bb16af [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-05T05:57:53.432Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2021-11-05T05:57:53.432Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-11-05T05:57:53.432Z] Dload Upload Total Spent Left Speed [2021-11-05T05:57:53.432Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11824 100 11824 0 0 79891 0 --:--:-- --:--:-- --:--:-- 79891 [Pipeline] sh [2021-11-05T05:57:53.833Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2021-11-05T05:57:54.186Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json+ [2021-11-05T05:57:54.186Z] sudo tee /etc/docker/daemon.new [2021-11-05T05:57:54.186Z] { [2021-11-05T05:57:54.186Z] "registry-mirrors": [ [2021-11-05T05:57:54.186Z] "https://nexus3.edgexfoundry.org:10001" [2021-11-05T05:57:54.186Z] ], [2021-11-05T05:57:54.186Z] "bip": "10.250.0.254/24", [2021-11-05T05:57:54.186Z] "hosts": [ [2021-11-05T05:57:54.186Z] "tcp://0.0.0.0:5555", [2021-11-05T05:57:54.186Z] "unix:///var/run/docker.sock" [2021-11-05T05:57:54.186Z] ], [2021-11-05T05:57:54.186Z] "mtu": 1458, [2021-11-05T05:57:54.186Z] "selinux-enabled": true, [2021-11-05T05:57:54.186Z] "seccomp-profile": "/etc/docker/seccomp.json" [2021-11-05T05:57:54.186Z] } [Pipeline] sh [2021-11-05T05:57:54.532Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2021-11-05T05:57:54.883Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-05T05:58:13.275Z] provisioning config files... [2021-11-05T05:58:13.300Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config3836763447495764252tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-05T05:58:13.767Z] ---> docker-login.sh [2021-11-05T05:58:13.767Z] nexus3.edgexfoundry.org:10001 [2021-11-05T05:58:14.365Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-05T05:58:14.963Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-05T05:58:14.963Z] Configure a credential helper to remove this warning. See [2021-11-05T05:58:14.963Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-05T05:58:14.963Z] [2021-11-05T05:58:14.963Z] Login Succeeded [2021-11-05T05:58:14.963Z] nexus3.edgexfoundry.org:10002 [2021-11-05T05:58:15.240Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-05T05:58:15.240Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-05T05:58:15.240Z] Configure a credential helper to remove this warning. See [2021-11-05T05:58:15.240Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-05T05:58:15.240Z] [2021-11-05T05:58:15.240Z] Login Succeeded [2021-11-05T05:58:15.240Z] nexus3.edgexfoundry.org:10003 [2021-11-05T05:58:15.840Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-05T05:58:15.840Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-05T05:58:15.840Z] Configure a credential helper to remove this warning. See [2021-11-05T05:58:15.840Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-05T05:58:15.840Z] [2021-11-05T05:58:15.840Z] Login Succeeded [2021-11-05T05:58:15.840Z] nexus3.edgexfoundry.org:10004 [2021-11-05T05:58:16.117Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-05T05:58:16.396Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-05T05:58:16.396Z] Configure a credential helper to remove this warning. See [2021-11-05T05:58:16.396Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-05T05:58:16.396Z] [2021-11-05T05:58:16.396Z] Login Succeeded [2021-11-05T05:58:16.396Z] docker.io [2021-11-05T05:58:16.670Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-05T05:58:17.266Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-05T05:58:17.266Z] Configure a credential helper to remove this warning. See [2021-11-05T05:58:17.266Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-05T05:58:17.266Z] [2021-11-05T05:58:17.266Z] Login Succeeded [2021-11-05T05:58:17.266Z] ---> docker-login.sh ends [Pipeline] } [2021-11-05T05:58:17.298Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-11-05T05:58:17.942Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-05T05:58:17.980Z] ========================================================= [2021-11-05T05:58:17.980Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-11-05T05:58:17.980Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-11-05T05:58:18.505Z] + 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-05T05:58:19.102Z] Sending build context to Docker daemon 2.766MB [2021-11-05T05:58:19.102Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2021-11-05T05:58:19.102Z] Step 2/10 : FROM ${BASE} AS builder [2021-11-05T05:58:19.102Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-11-05T05:58:19.102Z] 552d1f2373af: Pulling fs layer [2021-11-05T05:58:19.102Z] ea3f2d53f512: Pulling fs layer [2021-11-05T05:58:19.102Z] 9e70ebbbe112: Pulling fs layer [2021-11-05T05:58:19.102Z] 7a9cfe048b4a: Pulling fs layer [2021-11-05T05:58:19.102Z] 72dc09318566: Pulling fs layer [2021-11-05T05:58:19.102Z] f4f7b4309257: Pulling fs layer [2021-11-05T05:58:19.102Z] 0ac9a79272e3: Pulling fs layer [2021-11-05T05:58:19.102Z] b78e95d17946: Pulling fs layer [2021-11-05T05:58:19.102Z] 72dc09318566: Waiting [2021-11-05T05:58:19.102Z] f4f7b4309257: Waiting [2021-11-05T05:58:19.102Z] 0ac9a79272e3: Waiting [2021-11-05T05:58:19.102Z] b78e95d17946: Waiting [2021-11-05T05:58:19.102Z] 9e70ebbbe112: Verifying Checksum [2021-11-05T05:58:19.102Z] 9e70ebbbe112: Download complete [2021-11-05T05:58:19.102Z] ea3f2d53f512: Verifying Checksum [2021-11-05T05:58:19.102Z] ea3f2d53f512: Download complete [2021-11-05T05:58:19.102Z] 72dc09318566: Verifying Checksum [2021-11-05T05:58:19.102Z] 72dc09318566: Download complete [2021-11-05T05:58:19.102Z] f4f7b4309257: Verifying Checksum [2021-11-05T05:58:19.102Z] f4f7b4309257: Download complete [2021-11-05T05:58:19.377Z] 552d1f2373af: Verifying Checksum [2021-11-05T05:58:19.377Z] 552d1f2373af: Download complete [2021-11-05T05:58:19.377Z] 0ac9a79272e3: Verifying Checksum [2021-11-05T05:58:19.377Z] 0ac9a79272e3: Download complete [2021-11-05T05:58:19.977Z] 552d1f2373af: Pull complete [2021-11-05T05:58:20.578Z] ea3f2d53f512: Pull complete [2021-11-05T05:58:21.173Z] 9e70ebbbe112: Pull complete [2021-11-05T05:58:21.173Z] b78e95d17946: Download complete [2021-11-05T05:58:21.773Z] 7a9cfe048b4a: Verifying Checksum [2021-11-05T05:58:21.773Z] 7a9cfe048b4a: Download complete [2021-11-05T05:58:28.933Z] Running on prd-centos7-docker-4c-2g-27714 in /w/workspace/gexfoundry_device-sdk-go_PR-1054 [Pipeline] { [Pipeline] ws [2021-11-05T05:58:28.972Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2021-11-05T05:58:29.089Z] Selected Git installation does not exist. Using Default [2021-11-05T05:58:29.089Z] The recommended git tool is: NONE [2021-11-05T05:58:31.214Z] using credential edgex-jenkins-ssh [2021-11-05T05:58:31.225Z] Cloning the remote Git repository [2021-11-05T05:58:30.829Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-11-05T05:58:30.885Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2021-11-05T05:58:30.922Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-11-05T05:58:30.922Z] > git --version # timeout=10 [2021-11-05T05:58:30.930Z] > git --version # 'git version 2.24.4' [2021-11-05T05:58:30.930Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-05T05:58:30.952Z] [INFO] Currently running in a labeled security context [2021-11-05T05:58:30.952Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-11-05T05:58:30.952Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh3624948741186221965.key [2021-11-05T05:58:31.926Z] 7a9cfe048b4a: Pull complete [2021-11-05T05:58:31.926Z] 72dc09318566: Pull complete [2021-11-05T05:58:30.975Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-05T05:58:32.000Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-11-05T05:58:32.009Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-11-05T05:58:32.020Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-11-05T05:58:32.032Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-11-05T05:58:32.032Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-05T05:58:32.033Z] [INFO] Currently running in a labeled security context [2021-11-05T05:58:32.033Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-11-05T05:58:32.034Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh7758097628863884616.key [2021-11-05T05:58:32.052Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1054/head:refs/remotes/origin/PR-1054 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-11-05T05:58:32.525Z] f4f7b4309257: Pull complete [2021-11-05T05:58:32.799Z] 0ac9a79272e3: Pull complete [2021-11-05T05:58:33.049Z] Merging remotes/origin/main commit 35284aa85d24a35feb544b47ef7c3f5e59bdf77f into PR head commit 7f6b1a2a492bb9697e7f8e1c12b53f8693f3ed96 [2021-11-05T05:58:33.158Z] Merge succeeded, producing 7f6b1a2a492bb9697e7f8e1c12b53f8693f3ed96 [2021-11-05T05:58:33.158Z] Checking out Revision 7f6b1a2a492bb9697e7f8e1c12b53f8693f3ed96 (PR-1054) [2021-11-05T05:58:32.641Z] > git config core.sparsecheckout # timeout=10 [2021-11-05T05:58:32.654Z] > git checkout -f 7f6b1a2a492bb9697e7f8e1c12b53f8693f3ed96 # timeout=10 [2021-11-05T05:58:32.695Z] > git remote # timeout=10 [2021-11-05T05:58:32.705Z] > git config --get remote.origin.url # timeout=10 [2021-11-05T05:58:32.715Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-11-05T05:58:32.716Z] [INFO] Currently running in a labeled security context [2021-11-05T05:58:32.716Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-11-05T05:58:32.716Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/1@tmp/jenkins-gitclient-ssh2898044428270838378.key [2021-11-05T05:58:32.723Z] > git merge 35284aa85d24a35feb544b47ef7c3f5e59bdf77f # timeout=10 [2021-11-05T05:58:32.731Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-11-05T05:58:32.744Z] > git config core.sparsecheckout # timeout=10 [2021-11-05T05:58:32.754Z] > git checkout -f 7f6b1a2a492bb9697e7f8e1c12b53f8693f3ed96 # timeout=10 [2021-11-05T05:58:36.681Z] Commit message: "fix: Add missing StringArray value type for commandValue" [2021-11-05T05:58:36.360Z] > git --version # timeout=10 [2021-11-05T05:58:36.369Z] > git --version # 'git version 2.24.4' [2021-11-05T05:58:36.382Z] fatal: bad object 9a07f3f07dd1acff74ab8b51a5ea399813bb16af [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-05T05:58:37.246Z] provisioning config files... [2021-11-05T05:58:37.259Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config4140439866017843555tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-05T05:58:37.703Z] ---> docker-login.sh [2021-11-05T05:58:37.703Z] nexus3.edgexfoundry.org:10001 [2021-11-05T05:58:37.703Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-05T05:58:37.703Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-05T05:58:37.703Z] Configure a credential helper to remove this warning. See [2021-11-05T05:58:37.703Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-05T05:58:37.703Z] [2021-11-05T05:58:37.703Z] Login Succeeded [2021-11-05T05:58:37.703Z] nexus3.edgexfoundry.org:10002 [2021-11-05T05:58:37.970Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-05T05:58:37.970Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-05T05:58:37.970Z] Configure a credential helper to remove this warning. See [2021-11-05T05:58:37.970Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-05T05:58:37.970Z] [2021-11-05T05:58:37.970Z] Login Succeeded [2021-11-05T05:58:37.970Z] nexus3.edgexfoundry.org:10003 [2021-11-05T05:58:37.970Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-05T05:58:37.970Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-05T05:58:37.970Z] Configure a credential helper to remove this warning. See [2021-11-05T05:58:37.970Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-05T05:58:37.970Z] [2021-11-05T05:58:37.970Z] Login Succeeded [2021-11-05T05:58:37.970Z] nexus3.edgexfoundry.org:10004 [2021-11-05T05:58:38.214Z] b78e95d17946: Pull complete [2021-11-05T05:58:38.236Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-05T05:58:38.236Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-05T05:58:38.236Z] Configure a credential helper to remove this warning. See [2021-11-05T05:58:38.236Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-05T05:58:38.236Z] [2021-11-05T05:58:38.236Z] Login Succeeded [2021-11-05T05:58:38.236Z] docker.io [2021-11-05T05:58:38.236Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-11-05T05:58:38.488Z] Digest: sha256:8f77ec77db7124c2038421266515449a73d34d95fd7f90866b77fbf8f5a401c7 [2021-11-05T05:58:38.488Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-11-05T05:58:38.488Z] ---> 8b459fc5aaf0 [2021-11-05T05:58:38.488Z] Step 3/10 : ARG MAKE=make build [2021-11-05T05:58:38.498Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-11-05T05:58:38.498Z] Configure a credential helper to remove this warning. See [2021-11-05T05:58:38.498Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-11-05T05:58:38.498Z] [2021-11-05T05:58:38.498Z] Login Succeeded [2021-11-05T05:58:38.498Z] ---> docker-login.sh ends [Pipeline] } [2021-11-05T05:58:38.542Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-11-05T05:58:38.777Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2021-11-05T05:58:38.806Z] ========================================================= [2021-11-05T05:58:38.806Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-11-05T05:58:38.806Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-11-05T05:58:39.197Z] + 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-05T05:58:39.197Z] Sending build context to Docker daemon 2.757MB [2021-11-05T05:58:39.197Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2021-11-05T05:58:39.197Z] Step 2/10 : FROM ${BASE} AS builder [2021-11-05T05:58:39.197Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-11-05T05:58:39.197Z] a0d0a0d46f8b: Pulling fs layer [2021-11-05T05:58:39.197Z] 31adcdaf11c8: Pulling fs layer [2021-11-05T05:58:39.197Z] b8b176561691: Pulling fs layer [2021-11-05T05:58:39.197Z] 4527c011a84f: Pulling fs layer [2021-11-05T05:58:39.197Z] 5d74067f8e1e: Pulling fs layer [2021-11-05T05:58:39.197Z] e0aca202a116: Pulling fs layer [2021-11-05T05:58:39.197Z] 3a43be97a3b4: Pulling fs layer [2021-11-05T05:58:39.197Z] 34cad66bf833: Pulling fs layer [2021-11-05T05:58:39.197Z] b4e3c513aaa6: Pulling fs layer [2021-11-05T05:58:39.197Z] 4527c011a84f: Waiting [2021-11-05T05:58:39.197Z] 5d74067f8e1e: Waiting [2021-11-05T05:58:39.197Z] e0aca202a116: Waiting [2021-11-05T05:58:39.197Z] 3a43be97a3b4: Waiting [2021-11-05T05:58:39.197Z] 34cad66bf833: Waiting [2021-11-05T05:58:39.197Z] b4e3c513aaa6: Waiting [2021-11-05T05:58:39.197Z] b8b176561691: Verifying Checksum [2021-11-05T05:58:39.197Z] b8b176561691: Download complete [2021-11-05T05:58:39.197Z] 31adcdaf11c8: Verifying Checksum [2021-11-05T05:58:39.197Z] 31adcdaf11c8: Download complete [2021-11-05T05:58:39.197Z] 5d74067f8e1e: Verifying Checksum [2021-11-05T05:58:39.197Z] 5d74067f8e1e: Download complete [2021-11-05T05:58:39.197Z] e0aca202a116: Verifying Checksum [2021-11-05T05:58:39.197Z] e0aca202a116: Download complete [2021-11-05T05:58:39.197Z] 3a43be97a3b4: Verifying Checksum [2021-11-05T05:58:39.197Z] 3a43be97a3b4: Download complete [2021-11-05T05:58:39.197Z] a0d0a0d46f8b: Verifying Checksum [2021-11-05T05:58:39.197Z] a0d0a0d46f8b: Download complete [2021-11-05T05:58:39.477Z] 34cad66bf833: Verifying Checksum [2021-11-05T05:58:39.477Z] 34cad66bf833: Download complete [2021-11-05T05:58:39.764Z] b4e3c513aaa6: Verifying Checksum [2021-11-05T05:58:39.764Z] b4e3c513aaa6: Download complete [2021-11-05T05:58:39.925Z] ---> Running in 3b5ea15e22d4 [2021-11-05T05:58:40.031Z] a0d0a0d46f8b: Pull complete [2021-11-05T05:58:40.031Z] 4527c011a84f: Verifying Checksum [2021-11-05T05:58:40.031Z] 4527c011a84f: Download complete [2021-11-05T05:58:40.031Z] 31adcdaf11c8: Pull complete [2021-11-05T05:58:40.031Z] b8b176561691: Pull complete [2021-11-05T05:58:40.524Z] Removing intermediate container 3b5ea15e22d4 [2021-11-05T05:58:40.524Z] ---> 65fc5e486a9f [2021-11-05T05:58:40.524Z] Step 4/10 : WORKDIR /device-sdk-go [2021-11-05T05:58:40.524Z] ---> Running in 3bea57bcf06a [2021-11-05T05:58:40.799Z] Removing intermediate container 3bea57bcf06a [2021-11-05T05:58:40.799Z] ---> 1e345346d0b1 [2021-11-05T05:58:40.799Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-05T05:58:41.072Z] ---> Running in f7bb00f157f5 [2021-11-05T05:58:41.362Z] Removing intermediate container f7bb00f157f5 [2021-11-05T05:58:41.362Z] ---> 686c9b0cef83 [2021-11-05T05:58:41.362Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-05T05:58:41.637Z] ---> Running in 9cd52c3bdbf0 [2021-11-05T05:58:43.619Z] Removing intermediate container 9cd52c3bdbf0 [2021-11-05T05:58:43.619Z] ---> 6d591e550e61 [2021-11-05T05:58:43.619Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-11-05T05:58:43.619Z] ---> Running in de655779ef0c [2021-11-05T05:58:44.298Z] 4527c011a84f: Pull complete [2021-11-05T05:58:44.299Z] 5d74067f8e1e: Pull complete [2021-11-05T05:58:44.299Z] e0aca202a116: Pull complete [2021-11-05T05:58:44.299Z] 3a43be97a3b4: Pull complete [2021-11-05T05:58:44.299Z] 34cad66bf833: Pull complete [2021-11-05T05:58:45.058Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-05T05:58:46.033Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-05T05:58:46.632Z] OK: 219 MiB in 52 packages [2021-11-05T05:58:46.883Z] b4e3c513aaa6: Pull complete [2021-11-05T05:58:46.883Z] Digest: sha256:75229776e65f3af88907aed05f91058a30c94a2fbbc20266ef4560f68deb3433 [2021-11-05T05:58:46.883Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-11-05T05:58:46.883Z] ---> 9f6097aaca64 [2021-11-05T05:58:46.883Z] Step 3/10 : ARG MAKE=make build [2021-11-05T05:58:47.610Z] Removing intermediate container de655779ef0c [2021-11-05T05:58:47.610Z] ---> cd12a39ad103 [2021-11-05T05:58:47.610Z] Step 8/10 : COPY . . [2021-11-05T05:58:48.279Z] ---> Running in 493c4390658a [2021-11-05T05:58:48.279Z] Removing intermediate container 493c4390658a [2021-11-05T05:58:48.279Z] ---> 7f6077d41054 [2021-11-05T05:58:48.279Z] Step 4/10 : WORKDIR /device-sdk-go [2021-11-05T05:58:48.279Z] ---> Running in 9b9e9fc06d28 [2021-11-05T05:58:48.544Z] Removing intermediate container 9b9e9fc06d28 [2021-11-05T05:58:48.544Z] ---> 6418d8423260 [2021-11-05T05:58:48.544Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-05T05:58:48.544Z] ---> Running in 5c56b5330fb9 [2021-11-05T05:58:48.544Z] Removing intermediate container 5c56b5330fb9 [2021-11-05T05:58:48.544Z] ---> 0c1d53518abf [2021-11-05T05:58:48.544Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-05T05:58:48.544Z] ---> Running in c7d014f4ee17 [2021-11-05T05:58:49.056Z] ---> 75b7356c41e0 [2021-11-05T05:58:49.056Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-05T05:58:49.056Z] ---> Running in 5d239e212299 [2021-11-05T05:58:49.120Z] Removing intermediate container c7d014f4ee17 [2021-11-05T05:58:49.120Z] ---> 86691d425b98 [2021-11-05T05:58:49.120Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-11-05T05:58:49.120Z] ---> Running in ee938729542f [2021-11-05T05:58:49.380Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-05T05:58:50.322Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-05T05:58:50.585Z] OK: 220 MiB in 52 packages [2021-11-05T05:58:50.847Z] Removing intermediate container ee938729542f [2021-11-05T05:58:50.847Z] ---> 670ba2649192 [2021-11-05T05:58:50.847Z] Step 8/10 : COPY . . [2021-11-05T05:58:51.109Z] ---> 421e43d61f91 [2021-11-05T05:58:51.109Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-05T05:58:51.109Z] ---> Running in da2edab3ee4e [2021-11-05T05:59:23.262Z] Removing intermediate container da2edab3ee4e [2021-11-05T05:59:23.262Z] ---> 5b214b8540f0 [2021-11-05T05:59:23.262Z] Step 10/10 : RUN ${MAKE} [2021-11-05T05:59:23.262Z] ---> Running in 03f7b1f68a92 [2021-11-05T05:59:23.529Z] noop [2021-11-05T05:59:23.793Z] Removing intermediate container 03f7b1f68a92 [2021-11-05T05:59:23.793Z] ---> a28fa9248e89 [2021-11-05T05:59:23.793Z] Successfully built a28fa9248e89 [2021-11-05T05:59:23.793Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-11-05T05:59:24.118Z] + docker inspect -f . ci-base-image-x86_64 [2021-11-05T05:59:24.119Z] . [Pipeline] withDockerContainer [2021-11-05T05:59:24.210Z] prd-centos7-docker-4c-2g-27714 does not seem to be running inside a container [2021-11-05T05:59:24.252Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-11-05T05:59:24.596Z] $ docker top 05f06e27c9cd9857a696423799e04449542b9c8f8e7409b85b40c697beecd97f -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-05T05:59:25.018Z] + go version [2021-11-05T05:59:25.018Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-11-05T05:59:25.046Z] $ docker stop --time=1 05f06e27c9cd9857a696423799e04449542b9c8f8e7409b85b40c697beecd97f [2021-11-05T05:59:26.300Z] $ docker rm -f 05f06e27c9cd9857a696423799e04449542b9c8f8e7409b85b40c697beecd97f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-05T05:59:26.991Z] + docker inspect -f . ci-base-image-x86_64 [2021-11-05T05:59:26.991Z] . [Pipeline] withDockerContainer [2021-11-05T05:59:27.069Z] prd-centos7-docker-4c-2g-27714 does not seem to be running inside a container [2021-11-05T05:59:27.113Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-11-05T05:59:27.458Z] $ docker top 3e3ad2c39b2caaa0654d9590a8f782fb695397da012704a1fff3fd7325492b2b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-11-05T05:59:27.904Z] + make test [2021-11-05T05:59:27.904Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-11-05T05:59:33.228Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-11-05T05:59:59.981Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-11-05T05:59:59.981Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-11-05T05:59:59.981Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-11-05T05:59:59.981Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.053s coverage: 23.5% of statements [2021-11-05T05:59:59.981Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-11-05T05:59:59.981Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.057s coverage: 28.1% of statements [2021-11-05T05:59:59.981Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.051s coverage: 78.9% of statements [2021-11-05T05:59:59.981Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.052s coverage: 9.0% of statements [2021-11-05T05:59:59.981Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-11-05T05:59:59.981Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-11-05T05:59:59.981Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-11-05T06:00:00.566Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.064s coverage: 28.7% of statements [2021-11-05T06:00:00.566Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-11-05T06:00:01.524Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.056s coverage: 83.3% of statements [2021-11-05T06:00:01.524Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-11-05T06:00:01.524Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-11-05T06:00:01.524Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.074s coverage: 57.8% of statements [2021-11-05T06:00:02.934Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.871s coverage: 89.2% of statements [2021-11-05T06:00:02.934Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-11-05T06:00:02.934Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.052s coverage: 4.9% of statements [2021-11-05T06:00:02.934Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-11-05T06:00:03.198Z] GO111MODULE=on go vet ./... [2021-11-05T06:00:10.822Z] Removing intermediate container 5d239e212299 [2021-11-05T06:00:10.822Z] ---> e2eb21634a63 [2021-11-05T06:00:10.822Z] Step 10/10 : RUN ${MAKE} [2021-11-05T06:00:10.822Z] ---> Running in 71c9c3bedb90 [2021-11-05T06:00:10.822Z] noop [2021-11-05T06:00:10.822Z] Removing intermediate container 71c9c3bedb90 [2021-11-05T06:00:10.822Z] ---> 7d80b3d526f5 [2021-11-05T06:00:10.822Z] Successfully built 7d80b3d526f5 [2021-11-05T06:00:10.822Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-11-05T06:00:11.191Z] + docker inspect -f . ci-base-image-arm64 [2021-11-05T06:00:11.191Z] . [Pipeline] withDockerContainer [2021-11-05T06:00:11.480Z] prd-ubuntu18.04-docker-arm64-4c-16g-27713 does not seem to be running inside a container [2021-11-05T06:00:11.565Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-11-05T06:00:13.216Z] $ docker top 98846a8d3c153ea74e467c9524db2f47c9d263d5a512d7c12d5e63ae4e0f5373 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-05T06:00:14.226Z] + go version [2021-11-05T06:00:14.226Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-11-05T06:00:14.258Z] $ docker stop --time=1 98846a8d3c153ea74e467c9524db2f47c9d263d5a512d7c12d5e63ae4e0f5373 [2021-11-05T06:00:15.974Z] $ docker rm -f 98846a8d3c153ea74e467c9524db2f47c9d263d5a512d7c12d5e63ae4e0f5373 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-11-05T06:00:16.933Z] + docker inspect -f . ci-base-image-arm64 [2021-11-05T06:00:16.933Z] . [Pipeline] withDockerContainer [2021-11-05T06:00:17.201Z] prd-ubuntu18.04-docker-arm64-4c-16g-27713 does not seem to be running inside a container [2021-11-05T06:00:17.275Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-11-05T06:00:18.868Z] $ docker top de8e150b6dcd5e23dc584f5100dd490d794009edebf6f6e94f7fd139c8f4a2fb -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-11-05T06:00:19.908Z] + make test [2021-11-05T06:00:19.908Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-11-05T06:00:21.394Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-11-05T06:00:21.395Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-11-05T06:00:21.395Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-11-05T06:00:21.420Z] $ docker stop --time=1 3e3ad2c39b2caaa0654d9590a8f782fb695397da012704a1fff3fd7325492b2b [2021-11-05T06:00:22.911Z] $ docker rm -f 3e3ad2c39b2caaa0654d9590a8f782fb695397da012704a1fff3fd7325492b2b [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-05T06:00:23.395Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-11-05T06:00:23.617Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-11-05T06:00:24.992Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-11-05T06:00:25.301Z] + ls -al . [2021-11-05T06:00:25.301Z] total 264 [2021-11-05T06:00:25.301Z] drwxrwxr-x. 10 jenkins jenkins 4096 Nov 5 06:00 . [2021-11-05T06:00:25.301Z] drwxrwxr-x. 4 jenkins jenkins 28 Nov 5 05:58 .. [2021-11-05T06:00:25.301Z] drwxrwxr-x. 2 jenkins jenkins 37 Nov 5 05:58 bin [2021-11-05T06:00:25.301Z] -rw-rw-r--. 1 jenkins jenkins 24816 Nov 5 05:58 CHANGELOG.md [2021-11-05T06:00:25.301Z] -rw-r--r--. 1 jenkins jenkins 127566 Nov 5 06:00 coverage.out [2021-11-05T06:00:25.301Z] -rw-rw-r--. 1 jenkins jenkins 140 Nov 5 05:58 .dockerignore [2021-11-05T06:00:25.301Z] drwxrwxr-x. 5 jenkins jenkins 62 Nov 5 05:58 example [2021-11-05T06:00:25.301Z] drwxrwxr-x. 8 jenkins jenkins 179 Nov 5 05:58 .git [2021-11-05T06:00:25.301Z] drwxrwxr-x. 3 jenkins jenkins 125 Nov 5 05:58 .github [2021-11-05T06:00:25.301Z] -rw-rw-r--. 1 jenkins jenkins 131 Nov 5 05:58 .gitignore [2021-11-05T06:00:25.301Z] -rw-rw-r--. 1 jenkins jenkins 602 Nov 5 05:58 go.mod [2021-11-05T06:00:25.301Z] -rw-rw-r--. 1 jenkins jenkins 49022 Nov 5 05:58 go.sum [2021-11-05T06:00:25.301Z] -rw-rw-r--. 1 jenkins jenkins 677 Nov 5 05:58 GOVERNANCE.md [2021-11-05T06:00:25.301Z] drwxrwxr-x. 15 jenkins jenkins 224 Nov 5 05:58 internal [2021-11-05T06:00:25.301Z] -rw-rw-r--. 1 jenkins jenkins 880 Nov 5 05:58 Jenkinsfile [2021-11-05T06:00:25.301Z] -rw-rw-r--. 1 jenkins jenkins 11341 Nov 5 05:58 LICENSE [2021-11-05T06:00:25.301Z] -rw-rw-r--. 1 jenkins jenkins 1120 Nov 5 05:58 Makefile [2021-11-05T06:00:25.301Z] drwxrwxr-x. 3 jenkins jenkins 16 Nov 5 05:58 openapi [2021-11-05T06:00:25.301Z] -rw-rw-r--. 1 jenkins jenkins 619 Nov 5 05:58 OWNERS.md [2021-11-05T06:00:25.301Z] drwxrwxr-x. 5 jenkins jenkins 50 Nov 5 05:58 pkg [2021-11-05T06:00:25.301Z] -rw-rw-r--. 1 jenkins jenkins 4877 Nov 5 05:58 README.md [2021-11-05T06:00:25.301Z] drwxrwxr-x. 4 jenkins jenkins 54 Nov 5 05:58 snap [2021-11-05T06:00:25.301Z] -rw-rw-r--. 1 jenkins jenkins 5 Nov 5 05:55 VERSION [2021-11-05T06:00:25.301Z] -rw-rw-r--. 1 jenkins jenkins 222 Nov 5 05:58 version.go [Pipeline] isUnix [Pipeline] sh [2021-11-05T06:00:25.633Z] + 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=7f6b1a2a492bb9697e7f8e1c12b53f8693f3ed96 --label arch=amd64 --label version=0.0.0 . [2021-11-05T06:00:25.633Z] Sending build context to Docker daemon 2.885MB [2021-11-05T06:00:25.633Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-11-05T06:00:25.633Z] Step 2/24 : FROM ${BASE} AS builder [2021-11-05T06:00:25.633Z] ---> a28fa9248e89 [2021-11-05T06:00:25.633Z] Step 3/24 : ARG MAKE=make build [2021-11-05T06:00:25.633Z] ---> Running in f28a8eb895fc [2021-11-05T06:00:25.894Z] Removing intermediate container f28a8eb895fc [2021-11-05T06:00:25.894Z] ---> 316bc037df04 [2021-11-05T06:00:25.894Z] Step 4/24 : WORKDIR /device-sdk-go [2021-11-05T06:00:25.894Z] ---> Running in 3afabf2f2cca [2021-11-05T06:00:25.894Z] Removing intermediate container 3afabf2f2cca [2021-11-05T06:00:25.894Z] ---> 174193ab9973 [2021-11-05T06:00:25.894Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-05T06:00:25.894Z] ---> Running in 02953a6c3ba5 [2021-11-05T06:00:26.162Z] Removing intermediate container 02953a6c3ba5 [2021-11-05T06:00:26.162Z] ---> 310401c1c158 [2021-11-05T06:00:26.162Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-05T06:00:26.162Z] ---> Running in 1ae82909ab16 [2021-11-05T06:00:26.733Z] Removing intermediate container 1ae82909ab16 [2021-11-05T06:00:26.733Z] ---> dd3e54de42a1 [2021-11-05T06:00:26.733Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-11-05T06:00:26.733Z] ---> Running in 07a22f281adb [2021-11-05T06:00:26.996Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-05T06:00:27.940Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-05T06:00:28.201Z] OK: 220 MiB in 52 packages [2021-11-05T06:00:28.462Z] Removing intermediate container 07a22f281adb [2021-11-05T06:00:28.462Z] ---> 9f6f4c9f26fb [2021-11-05T06:00:28.462Z] Step 8/24 : COPY . . [2021-11-05T06:00:28.723Z] ---> d6fbac49cb03 [2021-11-05T06:00:28.723Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-05T06:00:28.723Z] ---> Running in 579645b3888b [2021-11-05T06:00:29.295Z] Removing intermediate container 579645b3888b [2021-11-05T06:00:29.295Z] ---> 7a8d5efd41a8 [2021-11-05T06:00:29.295Z] Step 10/24 : RUN ${MAKE} [2021-11-05T06:00:29.295Z] ---> Running in d4dfb4ceef99 [2021-11-05T06:00:29.565Z] 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-05T06:00:41.880Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-11-05T06:00:41.880Z] Removing intermediate container d4dfb4ceef99 [2021-11-05T06:00:41.880Z] ---> ba8738f1f7ed [2021-11-05T06:00:41.880Z] Step 11/24 : FROM alpine:3.14 [2021-11-05T06:00:45.188Z] 3.14: Pulling from library/alpine [2021-11-05T06:00:45.188Z] a0d0a0d46f8b: Already exists [2021-11-05T06:00:45.188Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-11-05T06:00:45.188Z] Status: Downloaded newer image for alpine:3.14 [2021-11-05T06:00:45.188Z] ---> 14119a10abf4 [2021-11-05T06:00:45.188Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-05T06:00:45.188Z] ---> Running in 645696d16c85 [2021-11-05T06:00:45.448Z] Removing intermediate container 645696d16c85 [2021-11-05T06:00:45.448Z] ---> ce03e30f9848 [2021-11-05T06:00:45.449Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-05T06:00:45.449Z] ---> Running in bbec480667cd [2021-11-05T06:00:45.710Z] Removing intermediate container bbec480667cd [2021-11-05T06:00:45.710Z] ---> 7b86ce90c8e0 [2021-11-05T06:00:45.710Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2021-11-05T06:00:45.969Z] ---> Running in d3c8b95b432c [2021-11-05T06:00:45.969Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-11-05T06:00:46.797Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-11-05T06:00:46.907Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-11-05T06:00:47.477Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2021-11-05T06:00:47.477Z] (2/5) Installing libsodium (1.0.18-r0) [2021-11-05T06:00:47.477Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2021-11-05T06:00:47.737Z] (4/5) Installing libzmq (4.3.4-r0) [2021-11-05T06:00:47.737Z] (5/5) Installing zeromq (4.3.4-r0) [2021-11-05T06:00:48.000Z] Executing busybox-1.33.1-r3.trigger [2021-11-05T06:00:48.000Z] OK: 8 MiB in 19 packages [2021-11-05T06:00:48.267Z] Removing intermediate container d3c8b95b432c [2021-11-05T06:00:48.267Z] ---> 68099bec2db5 [2021-11-05T06:00:48.267Z] Step 15/24 : WORKDIR / [2021-11-05T06:00:48.267Z] ---> Running in ad34c512ce08 [2021-11-05T06:00:48.267Z] Removing intermediate container ad34c512ce08 [2021-11-05T06:00:48.267Z] ---> 81209dec8ef0 [2021-11-05T06:00:48.267Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-11-05T06:00:48.526Z] ---> 24f0e462f609 [2021-11-05T06:00:48.526Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-11-05T06:00:48.787Z] ---> 689e7282bc91 [2021-11-05T06:00:48.787Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-11-05T06:00:49.047Z] ---> db94107eff7f [2021-11-05T06:00:49.047Z] Step 19/24 : EXPOSE 59999 [2021-11-05T06:00:49.047Z] ---> Running in edfef35b33fc [2021-11-05T06:00:49.047Z] Removing intermediate container edfef35b33fc [2021-11-05T06:00:49.047Z] ---> a50538a9774a [2021-11-05T06:00:49.047Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2021-11-05T06:00:49.047Z] ---> Running in bb64b8c4e9c3 [2021-11-05T06:00:49.047Z] Removing intermediate container bb64b8c4e9c3 [2021-11-05T06:00:49.047Z] ---> e70c8bbddc0b [2021-11-05T06:00:49.047Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-11-05T06:00:49.047Z] ---> Running in a72efe30264c [2021-11-05T06:00:49.319Z] Removing intermediate container a72efe30264c [2021-11-05T06:00:49.319Z] ---> 3582f81900f3 [2021-11-05T06:00:49.319Z] Step 22/24 : LABEL arch=amd64 [2021-11-05T06:00:49.319Z] ---> Running in 4199cb7cfac4 [2021-11-05T06:00:49.319Z] Removing intermediate container 4199cb7cfac4 [2021-11-05T06:00:49.319Z] ---> 259bdfa5e821 [2021-11-05T06:00:49.319Z] Step 23/24 : LABEL git_sha=7f6b1a2a492bb9697e7f8e1c12b53f8693f3ed96 [2021-11-05T06:00:49.319Z] ---> Running in 1e79afec9d6d [2021-11-05T06:00:49.319Z] Removing intermediate container 1e79afec9d6d [2021-11-05T06:00:49.319Z] ---> dc6542ae2edf [2021-11-05T06:00:49.319Z] Step 24/24 : LABEL version=0.0.0 [2021-11-05T06:00:49.319Z] ---> Running in c8bccfa891f5 [2021-11-05T06:00:49.587Z] Removing intermediate container c8bccfa891f5 [2021-11-05T06:00:49.587Z] ---> 223aa316abc1 [2021-11-05T06:00:49.587Z] [Warning] One or more build-args [ARCH] were not consumed [2021-11-05T06:00:49.587Z] Successfully built 223aa316abc1 [2021-11-05T06:00:49.587Z] 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-05T06:00:50.504Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-05T06:00:50.504Z] [2021-11-05T06:00:50.504Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-11-05T06:00:50.846Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-05T06:00:50.846Z] latest: Pulling from edgex-lftools-log-publisher [2021-11-05T06:00:50.846Z] b4d181a07f80: Pulling fs layer [2021-11-05T06:00:50.846Z] a1111a8f2ec3: Pulling fs layer [2021-11-05T06:00:50.846Z] ed53099fbce6: Pulling fs layer [2021-11-05T06:00:50.846Z] dc539afda2c1: Pulling fs layer [2021-11-05T06:00:50.846Z] 77bc0d833cb6: Pulling fs layer [2021-11-05T06:00:50.846Z] 9065ff56babe: Pulling fs layer [2021-11-05T06:00:50.846Z] d287ab97295c: Pulling fs layer [2021-11-05T06:00:50.846Z] dc539afda2c1: Waiting [2021-11-05T06:00:50.846Z] 77bc0d833cb6: Waiting [2021-11-05T06:00:50.846Z] 9065ff56babe: Waiting [2021-11-05T06:00:50.846Z] d287ab97295c: Waiting [2021-11-05T06:00:50.846Z] a1111a8f2ec3: Verifying Checksum [2021-11-05T06:00:50.846Z] a1111a8f2ec3: Download complete [2021-11-05T06:00:50.846Z] dc539afda2c1: Verifying Checksum [2021-11-05T06:00:50.846Z] dc539afda2c1: Download complete [2021-11-05T06:00:50.846Z] ed53099fbce6: Verifying Checksum [2021-11-05T06:00:50.846Z] ed53099fbce6: Download complete [2021-11-05T06:00:50.846Z] 9065ff56babe: Verifying Checksum [2021-11-05T06:00:50.846Z] 9065ff56babe: Download complete [2021-11-05T06:00:51.116Z] 77bc0d833cb6: Verifying Checksum [2021-11-05T06:00:51.116Z] 77bc0d833cb6: Download complete [2021-11-05T06:00:51.116Z] b4d181a07f80: Verifying Checksum [2021-11-05T06:00:51.116Z] b4d181a07f80: Download complete [2021-11-05T06:00:51.706Z] d287ab97295c: Verifying Checksum [2021-11-05T06:00:51.706Z] d287ab97295c: Download complete [2021-11-05T06:00:52.654Z] b4d181a07f80: Pull complete [2021-11-05T06:00:52.920Z] a1111a8f2ec3: Pull complete [2021-11-05T06:00:53.495Z] ed53099fbce6: Pull complete [2021-11-05T06:00:53.495Z] dc539afda2c1: Pull complete [2021-11-05T06:00:53.759Z] 77bc0d833cb6: Pull complete [2021-11-05T06:00:53.759Z] 9065ff56babe: Pull complete [2021-11-05T06:00:59.065Z] d287ab97295c: Pull complete [2021-11-05T06:00:59.065Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-11-05T06:00:59.065Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-05T06:00:59.065Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-11-05T06:00:59.149Z] prd-centos7-docker-4c-2g-27714 does not seem to be running inside a container [2021-11-05T06:00:59.192Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-11-05T06:01:02.010Z] $ docker top d16d7422e58905ebb98816e7f924f16e467550354eb9ae84d6569b1d9b3f2989 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-05T06:01:02.580Z] ---> job-cost.sh [2021-11-05T06:01:02.580Z] lf-activate-venv: SKIPPING [2021-11-05T06:01:02.580Z] INFO: No Stack... [2021-11-05T06:01:02.839Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-11-05T06:01:03.101Z] INFO: Archiving Costs [Pipeline] sh [2021-11-05T06:01:03.420Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2021-11-05T06:01:03.420Z] + cut -d, -f6 [Pipeline] lock [2021-11-05T06:01:03.461Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1054-1-stack-cost] [2021-11-05T06:01:03.465Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1054-1-stack-cost] did not exist. Created. [2021-11-05T06:01:03.465Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1054-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-11-05T06:01:03.852Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-11-05T06:01:03.901Z] Stashed 1 file(s) [Pipeline] } [2021-11-05T06:01:03.915Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1054-1-stack-cost] [Pipeline] // lock [Pipeline] } [2021-11-05T06:01:03.975Z] $ docker stop --time=1 d16d7422e58905ebb98816e7f924f16e467550354eb9ae84d6569b1d9b3f2989 [2021-11-05T06:01:05.134Z] $ docker rm -f d16d7422e58905ebb98816e7f924f16e467550354eb9ae84d6569b1d9b3f2989 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-11-05T06:02:08.662Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-11-05T06:02:08.662Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-11-05T06:02:08.663Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-11-05T06:02:11.334Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.528s coverage: 23.5% of statements [2021-11-05T06:02:11.334Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-11-05T06:02:11.334Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.211s coverage: 28.1% of statements [2021-11-05T06:02:11.334Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.268s coverage: 78.9% of statements [2021-11-05T06:02:11.334Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.232s coverage: 9.0% of statements [2021-11-05T06:02:11.334Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-11-05T06:02:11.334Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-11-05T06:02:11.334Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-11-05T06:02:12.325Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.337s coverage: 28.7% of statements [2021-11-05T06:02:12.325Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-11-05T06:02:14.306Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.199s coverage: 83.3% of statements [2021-11-05T06:02:14.306Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-11-05T06:02:14.306Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-11-05T06:02:14.306Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.364s coverage: 57.8% of statements [2021-11-05T06:02:16.288Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.071s coverage: 89.2% of statements [2021-11-05T06:02:16.288Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-11-05T06:02:16.561Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.185s coverage: 4.9% of statements [2021-11-05T06:02:16.561Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-11-05T06:02:17.156Z] GO111MODULE=on go vet ./... [2021-11-05T06:03:13.761Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-11-05T06:03:13.761Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-11-05T06:03:13.761Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-11-05T06:03:15.779Z] $ docker stop --time=1 de8e150b6dcd5e23dc584f5100dd490d794009edebf6f6e94f7fd139c8f4a2fb [2021-11-05T06:03:17.647Z] $ docker rm -f de8e150b6dcd5e23dc584f5100dd490d794009edebf6f6e94f7fd139c8f4a2fb [Pipeline] // withDockerContainer [Pipeline] sh [2021-11-05T06:03:18.825Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-11-05T06:03:18.857Z] Warning: overwriting stash ‘coverage-report’ [2021-11-05T06:03:19.502Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-11-05T06:03:20.086Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-11-05T06:03:20.428Z] + ls -al . [2021-11-05T06:03:20.429Z] total 300 [2021-11-05T06:03:20.429Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 5 06:03 . [2021-11-05T06:03:20.429Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 5 05:57 .. [2021-11-05T06:03:20.429Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 5 05:57 .dockerignore [2021-11-05T06:03:20.429Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 5 05:57 .git [2021-11-05T06:03:20.429Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 5 05:57 .github [2021-11-05T06:03:20.429Z] -rw-rw-r-- 1 jenkins jenkins 131 Nov 5 05:57 .gitignore [2021-11-05T06:03:20.429Z] -rw-rw-r-- 1 jenkins jenkins 24816 Nov 5 05:57 CHANGELOG.md [2021-11-05T06:03:20.429Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 5 05:57 GOVERNANCE.md [2021-11-05T06:03:20.429Z] -rw-rw-r-- 1 jenkins jenkins 880 Nov 5 05:57 Jenkinsfile [2021-11-05T06:03:20.429Z] -rw-rw-r-- 1 jenkins jenkins 11341 Nov 5 05:57 LICENSE [2021-11-05T06:03:20.429Z] -rw-rw-r-- 1 jenkins jenkins 1120 Nov 5 05:57 Makefile [2021-11-05T06:03:20.429Z] -rw-rw-r-- 1 jenkins jenkins 619 Nov 5 05:57 OWNERS.md [2021-11-05T06:03:20.429Z] -rw-rw-r-- 1 jenkins jenkins 4877 Nov 5 05:57 README.md [2021-11-05T06:03:20.429Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 5 05:55 VERSION [2021-11-05T06:03:20.429Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 5 05:57 bin [2021-11-05T06:03:20.429Z] -rw-r--r-- 1 jenkins jenkins 127566 Nov 5 06:02 coverage.out [2021-11-05T06:03:20.429Z] drwxrwxr-x 5 jenkins jenkins 4096 Nov 5 05:57 example [2021-11-05T06:03:20.429Z] -rw-rw-r-- 1 jenkins jenkins 602 Nov 5 05:57 go.mod [2021-11-05T06:03:20.429Z] -rw-rw-r-- 1 jenkins jenkins 49022 Nov 5 05:57 go.sum [2021-11-05T06:03:20.429Z] drwxrwxr-x 15 jenkins jenkins 4096 Nov 5 05:57 internal [2021-11-05T06:03:20.429Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 5 05:57 openapi [2021-11-05T06:03:20.429Z] drwxrwxr-x 5 jenkins jenkins 4096 Nov 5 05:57 pkg [2021-11-05T06:03:20.429Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 5 05:57 snap [2021-11-05T06:03:20.429Z] -rw-rw-r-- 1 jenkins jenkins 222 Nov 5 05:57 version.go [Pipeline] isUnix [Pipeline] sh [2021-11-05T06:03:20.792Z] + 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=7f6b1a2a492bb9697e7f8e1c12b53f8693f3ed96 --label arch=arm64 --label version=0.0.0 . [2021-11-05T06:03:21.405Z] Sending build context to Docker daemon 2.894MB [2021-11-05T06:03:21.406Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-11-05T06:03:21.406Z] Step 2/24 : FROM ${BASE} AS builder [2021-11-05T06:03:21.406Z] ---> 7d80b3d526f5 [2021-11-05T06:03:21.406Z] Step 3/24 : ARG MAKE=make build [2021-11-05T06:03:21.406Z] ---> Running in 29bb3c3649aa [2021-11-05T06:03:22.000Z] Removing intermediate container 29bb3c3649aa [2021-11-05T06:03:22.000Z] ---> 0702870015b1 [2021-11-05T06:03:22.000Z] Step 4/24 : WORKDIR /device-sdk-go [2021-11-05T06:03:22.000Z] ---> Running in 40bbbcef1ffd [2021-11-05T06:03:22.598Z] Removing intermediate container 40bbbcef1ffd [2021-11-05T06:03:22.598Z] ---> da244b8b4090 [2021-11-05T06:03:22.598Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-05T06:03:22.598Z] ---> Running in c14a3ea9ebfa [2021-11-05T06:03:22.871Z] Removing intermediate container c14a3ea9ebfa [2021-11-05T06:03:22.871Z] ---> dbda75589ea8 [2021-11-05T06:03:22.871Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-05T06:03:23.147Z] ---> Running in f460ce5ebe62 [2021-11-05T06:03:25.123Z] Removing intermediate container f460ce5ebe62 [2021-11-05T06:03:25.123Z] ---> a9581bd2309a [2021-11-05T06:03:25.123Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-11-05T06:03:25.123Z] ---> Running in 591988ae3fea [2021-11-05T06:03:26.561Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-05T06:03:27.550Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-05T06:03:28.148Z] OK: 219 MiB in 52 packages [2021-11-05T06:03:29.132Z] Removing intermediate container 591988ae3fea [2021-11-05T06:03:29.132Z] ---> 94cda4aafd76 [2021-11-05T06:03:29.132Z] Step 8/24 : COPY . . [2021-11-05T06:03:30.105Z] ---> 2f45e71405ab [2021-11-05T06:03:30.105Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-11-05T06:03:30.389Z] ---> Running in 997ac40990bf [2021-11-05T06:03:32.361Z] Removing intermediate container 997ac40990bf [2021-11-05T06:03:32.361Z] ---> 03b0c579a1c9 [2021-11-05T06:03:32.361Z] Step 10/24 : RUN ${MAKE} [2021-11-05T06:03:32.640Z] ---> Running in 7b7d9c275ca8 [2021-11-05T06:03:33.619Z] 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-05T06:04:12.619Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-11-05T06:04:12.619Z] Removing intermediate container 7b7d9c275ca8 [2021-11-05T06:04:12.619Z] ---> 9502f280eb69 [2021-11-05T06:04:12.619Z] Step 11/24 : FROM alpine:3.14 [2021-11-05T06:04:15.233Z] 3.14: Pulling from library/alpine [2021-11-05T06:04:15.503Z] 552d1f2373af: Already exists [2021-11-05T06:04:15.777Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-11-05T06:04:15.777Z] Status: Downloaded newer image for alpine:3.14 [2021-11-05T06:04:15.777Z] ---> bb3de5531c18 [2021-11-05T06:04:15.777Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-11-05T06:04:15.777Z] ---> Running in 6e60c799fbf4 [2021-11-05T06:04:16.381Z] Removing intermediate container 6e60c799fbf4 [2021-11-05T06:04:16.381Z] ---> 6235ae831b11 [2021-11-05T06:04:16.381Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-11-05T06:04:16.381Z] ---> Running in 0acfe3a18b0e [2021-11-05T06:04:18.366Z] Removing intermediate container 0acfe3a18b0e [2021-11-05T06:04:18.366Z] ---> d11239d95410 [2021-11-05T06:04:18.366Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2021-11-05T06:04:18.366Z] ---> Running in a6b7ae1264c4 [2021-11-05T06:04:19.808Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-11-05T06:04:20.790Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-11-05T06:04:21.386Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2021-11-05T06:04:21.656Z] (2/5) Installing libsodium (1.0.18-r0) [2021-11-05T06:04:21.656Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2021-11-05T06:04:21.926Z] (4/5) Installing libzmq (4.3.4-r0) [2021-11-05T06:04:21.926Z] (5/5) Installing zeromq (4.3.4-r0) [2021-11-05T06:04:22.197Z] Executing busybox-1.33.1-r3.trigger [2021-11-05T06:04:22.197Z] OK: 8 MiB in 19 packages [2021-11-05T06:04:23.179Z] Removing intermediate container a6b7ae1264c4 [2021-11-05T06:04:23.179Z] ---> 62c2abcf9fe3 [2021-11-05T06:04:23.179Z] Step 15/24 : WORKDIR / [2021-11-05T06:04:23.179Z] ---> Running in e485d9b25303 [2021-11-05T06:04:23.772Z] Removing intermediate container e485d9b25303 [2021-11-05T06:04:23.772Z] ---> 28339a2ed0e6 [2021-11-05T06:04:23.772Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-11-05T06:04:24.376Z] ---> 5f43b4bfa62b [2021-11-05T06:04:24.376Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-11-05T06:04:25.808Z] ---> 959c9810639f [2021-11-05T06:04:25.808Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-11-05T06:04:26.400Z] ---> da9c9d8b3f38 [2021-11-05T06:04:26.400Z] Step 19/24 : EXPOSE 59999 [2021-11-05T06:04:26.400Z] ---> Running in 7cadd34e8c42 [2021-11-05T06:04:26.670Z] Removing intermediate container 7cadd34e8c42 [2021-11-05T06:04:26.670Z] ---> bcf794363241 [2021-11-05T06:04:26.670Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2021-11-05T06:04:26.940Z] ---> Running in be83fe41e492 [2021-11-05T06:04:27.211Z] Removing intermediate container be83fe41e492 [2021-11-05T06:04:27.211Z] ---> 4e876c9dbe38 [2021-11-05T06:04:27.211Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-11-05T06:04:27.211Z] ---> Running in db77dbb74bbf [2021-11-05T06:04:27.808Z] Removing intermediate container db77dbb74bbf [2021-11-05T06:04:27.808Z] ---> 4e99da447bc4 [2021-11-05T06:04:27.808Z] Step 22/24 : LABEL arch=arm64 [2021-11-05T06:04:27.808Z] ---> Running in f1761e837daa [2021-11-05T06:04:28.081Z] Removing intermediate container f1761e837daa [2021-11-05T06:04:28.082Z] ---> b8e6c36ebd81 [2021-11-05T06:04:28.082Z] Step 23/24 : LABEL git_sha=7f6b1a2a492bb9697e7f8e1c12b53f8693f3ed96 [2021-11-05T06:04:28.356Z] ---> Running in 95b639bdf673 [2021-11-05T06:04:28.631Z] Removing intermediate container 95b639bdf673 [2021-11-05T06:04:28.631Z] ---> 35bf8ddd36e4 [2021-11-05T06:04:28.631Z] Step 24/24 : LABEL version=0.0.0 [2021-11-05T06:04:28.904Z] ---> Running in 4fd85e149187 [2021-11-05T06:04:29.177Z] Removing intermediate container 4fd85e149187 [2021-11-05T06:04:29.177Z] ---> e8d9bb20bb35 [2021-11-05T06:04:29.177Z] [Warning] One or more build-args [ARCH] were not consumed [2021-11-05T06:04:29.177Z] Successfully built e8d9bb20bb35 [2021-11-05T06:04:29.177Z] 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-05T06:04:29.960Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-05T06:04:30.235Z] [2021-11-05T06:04:30.235Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-11-05T06:04:30.615Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-05T06:04:30.890Z] arm64: Pulling from edgex-lftools-log-publisher [2021-11-05T06:04:30.890Z] 448f6bf000e3: Pulling fs layer [2021-11-05T06:04:30.890Z] f757da607395: Pulling fs layer [2021-11-05T06:04:30.890Z] 05883995daec: Pulling fs layer [2021-11-05T06:04:30.890Z] 8603b9c90790: Pulling fs layer [2021-11-05T06:04:30.890Z] 1560dd03e051: Pulling fs layer [2021-11-05T06:04:30.890Z] 8603b9c90790: Waiting [2021-11-05T06:04:30.890Z] 27f5ce0e4adf: Pulling fs layer [2021-11-05T06:04:30.890Z] c2d8d7efcc4b: Pulling fs layer [2021-11-05T06:04:30.890Z] 1560dd03e051: Waiting [2021-11-05T06:04:30.890Z] 27f5ce0e4adf: Waiting [2021-11-05T06:04:30.890Z] f757da607395: Verifying Checksum [2021-11-05T06:04:30.890Z] f757da607395: Download complete [2021-11-05T06:04:30.890Z] 8603b9c90790: Verifying Checksum [2021-11-05T06:04:30.890Z] 8603b9c90790: Download complete [2021-11-05T06:04:31.166Z] 1560dd03e051: Verifying Checksum [2021-11-05T06:04:31.166Z] 1560dd03e051: Download complete [2021-11-05T06:04:31.166Z] 27f5ce0e4adf: Verifying Checksum [2021-11-05T06:04:31.166Z] 27f5ce0e4adf: Download complete [2021-11-05T06:04:31.166Z] 05883995daec: Verifying Checksum [2021-11-05T06:04:31.166Z] 05883995daec: Download complete [2021-11-05T06:04:31.441Z] 448f6bf000e3: Verifying Checksum [2021-11-05T06:04:31.441Z] 448f6bf000e3: Download complete [2021-11-05T06:04:34.121Z] c2d8d7efcc4b: Verifying Checksum [2021-11-05T06:04:34.121Z] c2d8d7efcc4b: Download complete [2021-11-05T06:04:35.635Z] 448f6bf000e3: Pull complete [2021-11-05T06:04:36.616Z] f757da607395: Pull complete [2021-11-05T06:04:38.052Z] 05883995daec: Pull complete [2021-11-05T06:04:38.325Z] 8603b9c90790: Pull complete [2021-11-05T06:04:39.318Z] 1560dd03e051: Pull complete [2021-11-05T06:04:39.591Z] 27f5ce0e4adf: Pull complete [2021-11-05T06:04:54.677Z] c2d8d7efcc4b: Pull complete [2021-11-05T06:04:54.677Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-11-05T06:04:54.677Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-11-05T06:04:54.677Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-11-05T06:04:54.934Z] prd-ubuntu18.04-docker-arm64-4c-16g-27713 does not seem to be running inside a container [2021-11-05T06:04:55.005Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-11-05T06:04:58.234Z] $ docker top 40b351b89d85c51a679d6561ff33f621a05ca5ef813f84eda71ec46bed8cc028 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-11-05T06:04:59.293Z] ---> job-cost.sh [2021-11-05T06:04:59.294Z] lf-activate-venv: SKIPPING [2021-11-05T06:04:59.294Z] INFO: No Stack... [2021-11-05T06:04:59.890Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-11-05T06:05:00.167Z] INFO: Archiving Costs [Pipeline] sh [2021-11-05T06:05:00.864Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2021-11-05T06:05:00.864Z] + cut -d, -f6 [Pipeline] lock [2021-11-05T06:05:00.950Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1054-1-stack-cost] [2021-11-05T06:05:00.955Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1054-1-stack-cost] did not exist. Created. [2021-11-05T06:05:00.955Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1054-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-11-05T06:05:01.685Z] /w/workspace/device-sdk-go/1@tmp/durable-bf8cb178/script.sh: 1: /w/workspace/device-sdk-go/1@tmp/durable-bf8cb178/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-11-05T06:05:02.392Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-11-05T06:05:02.427Z] Warning: overwriting stash ‘stack-cost’ [2021-11-05T06:05:02.497Z] Stashed 1 file(s) [Pipeline] } [2021-11-05T06:05:02.512Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1054-1-stack-cost] [Pipeline] // lock [Pipeline] } [2021-11-05T06:05:02.556Z] $ docker stop --time=1 40b351b89d85c51a679d6561ff33f621a05ca5ef813f84eda71ec46bed8cc028 [2021-11-05T06:05:04.157Z] $ docker rm -f 40b351b89d85c51a679d6561ff33f621a05ca5ef813f84eda71ec46bed8cc028 [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-05T06:05:05.273Z] provisioning config files... [2021-11-05T06:05:05.283Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1054@tmp/config2920641258115938222tmp [Pipeline] { [Pipeline] sh [2021-11-05T06:05:05.615Z] + set +x [2021-11-05T06:05:05.615Z] + curl -s https://codecov.io/bash [2021-11-05T06:05:05.615Z] + bash -s -- [2021-11-05T06:05:05.615Z] [2021-11-05T06:05:05.615Z] _____ _ [2021-11-05T06:05:05.615Z] / ____| | | [2021-11-05T06:05:05.615Z] | | ___ __| | ___ ___ _____ __ [2021-11-05T06:05:05.615Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-11-05T06:05:05.615Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-11-05T06:05:05.615Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-11-05T06:05:05.615Z] Bash-1.0.6 [2021-11-05T06:05:05.615Z] [2021-11-05T06:05:05.615Z] [2021-11-05T06:05:05.615Z] ==> git version 2.24.4 found [2021-11-05T06:05:05.615Z] ==> 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-05T06:05:05.615Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-11-05T06:05:05.615Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-11-05T06:05:05.615Z] ==> Jenkins CI detected. [2021-11-05T06:05:05.615Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1054 [2021-11-05T06:05:05.615Z] project root: . [2021-11-05T06:05:05.615Z] --> token set from env [2021-11-05T06:05:05.615Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-11-05T06:05:05.875Z] ==> Running gcov in . (disable via -X gcov) [2021-11-05T06:05:05.875Z] ==> Python coveragepy not found [2021-11-05T06:05:05.875Z] ==> Searching for coverage reports in: [2021-11-05T06:05:05.875Z] + . [2021-11-05T06:05:05.875Z] -> Found 1 reports [2021-11-05T06:05:05.875Z] ==> Detecting git/mercurial file structure [2021-11-05T06:05:05.875Z] ==> Reading reports [2021-11-05T06:05:05.875Z] + ./coverage.out bytes=127566 [2021-11-05T06:05:05.875Z] ==> Appending adjustments [2021-11-05T06:05:05.875Z] https://docs.codecov.io/docs/fixing-reports [2021-11-05T06:05:06.139Z] + Found adjustments [2021-11-05T06:05:06.139Z] ==> Gzipping contents [2021-11-05T06:05:06.139Z] 16K /tmp/codecov.iDhdXF.gz [2021-11-05T06:05:06.139Z] ==> Uploading reports [2021-11-05T06:05:06.139Z] url: https://codecov.io [2021-11-05T06:05:06.139Z] query: branch=PR-1054&commit=7f6b1a2a492bb9697e7f8e1c12b53f8693f3ed96&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1054%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1054&job=&cmd_args= [2021-11-05T06:05:06.139Z] -> Pinging Codecov [2021-11-05T06:05:06.139Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1054&commit=7f6b1a2a492bb9697e7f8e1c12b53f8693f3ed96&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1054%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1054&job=&cmd_args= [2021-11-05T06:05:06.400Z] -> Uploading to [2021-11-05T06:05:06.400Z] https://storage.googleapis.com/codecov/v4/raw/2021-11-05/7E55EF52A471D76F132DFD9A03CDDE97/7f6b1a2a492bb9697e7f8e1c12b53f8693f3ed96/3399b4fb-964d-46b1-9673-7fee6dc4a830.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211105%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211105T060506Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=df4352487a8112dbf4aafe9e69e142605b41cb1e0d062025c2038a8138d68e83 [2021-11-05T06:05:06.400Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-11-05T06:05:06.400Z] Dload Upload Total Spent Left Speed [2021-11-05T06:05:06.661Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16234 0 0 100 16234 0 52419 --:--:-- --:--:-- --:--:-- 52367 100 16234 0 0 100 16234 0 52394 --:--:-- --:--:-- --:--:-- 52367 [2021-11-05T06:05:06.661Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/7f6b1a2a492bb9697e7f8e1c12b53f8693f3ed96 [Pipeline] } [2021-11-05T06:05:06.682Z] 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-05T06:05:08.656Z] + '[' -d /w/workspace/gexfoundry_device-sdk-go_PR-1054/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-11-05T06:05:08.983Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-05T06:05:09.562Z] ---> package-listing.sh [2021-11-05T06:05:09.562Z] ++ facter osfamily [2021-11-05T06:05:09.562Z] ++ tr '[:upper:]' '[:lower:]' [2021-11-05T06:05:09.826Z] + OS_FAMILY=redhat [2021-11-05T06:05:09.826Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1054 [2021-11-05T06:05:09.826Z] + START_PACKAGES=/tmp/packages_start.txt [2021-11-05T06:05:09.826Z] + END_PACKAGES=/tmp/packages_end.txt [2021-11-05T06:05:09.826Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-11-05T06:05:09.826Z] + PACKAGES=/tmp/packages_start.txt [2021-11-05T06:05:09.826Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1054 ']' [2021-11-05T06:05:09.826Z] + PACKAGES=/tmp/packages_end.txt [2021-11-05T06:05:09.826Z] + case "${OS_FAMILY}" in [2021-11-05T06:05:09.826Z] + rpm -qa [2021-11-05T06:05:09.826Z] + sort [2021-11-05T06:05:10.404Z] + '[' -f /tmp/packages_start.txt ']' [2021-11-05T06:05:10.404Z] + '[' -f /tmp/packages_end.txt ']' [2021-11-05T06:05:10.404Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-11-05T06:05:10.404Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1054 ']' [2021-11-05T06:05:10.404Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1054/archives/ [2021-11-05T06:05:10.404Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1054/archives/ [Pipeline] echo [2021-11-05T06:05:10.428Z] 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-1054/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-11-05T06:05:10.745Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-11-05T06:05:11.064Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-05T06:05:11.064Z] [2021-11-05T06:05:11.064Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-11-05T06:05:11.400Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-05T06:05:11.400Z] latest: Pulling from edgex-lftools-log-publisher [2021-11-05T06:05:11.400Z] b4d181a07f80: Pulling fs layer [2021-11-05T06:05:11.400Z] a1111a8f2ec3: Pulling fs layer [2021-11-05T06:05:11.400Z] ed53099fbce6: Pulling fs layer [2021-11-05T06:05:11.400Z] dc539afda2c1: Pulling fs layer [2021-11-05T06:05:11.400Z] 77bc0d833cb6: Pulling fs layer [2021-11-05T06:05:11.400Z] 9065ff56babe: Pulling fs layer [2021-11-05T06:05:11.400Z] d287ab97295c: Pulling fs layer [2021-11-05T06:05:11.400Z] 77bc0d833cb6: Waiting [2021-11-05T06:05:11.400Z] 9065ff56babe: Waiting [2021-11-05T06:05:11.400Z] d287ab97295c: Waiting [2021-11-05T06:05:11.400Z] dc539afda2c1: Waiting [2021-11-05T06:05:11.400Z] a1111a8f2ec3: Verifying Checksum [2021-11-05T06:05:11.400Z] a1111a8f2ec3: Download complete [2021-11-05T06:05:11.400Z] dc539afda2c1: Verifying Checksum [2021-11-05T06:05:11.400Z] dc539afda2c1: Download complete [2021-11-05T06:05:11.666Z] ed53099fbce6: Verifying Checksum [2021-11-05T06:05:11.666Z] ed53099fbce6: Download complete [2021-11-05T06:05:11.666Z] 9065ff56babe: Verifying Checksum [2021-11-05T06:05:11.666Z] 9065ff56babe: Download complete [2021-11-05T06:05:11.666Z] 77bc0d833cb6: Verifying Checksum [2021-11-05T06:05:11.666Z] 77bc0d833cb6: Download complete [2021-11-05T06:05:11.666Z] b4d181a07f80: Verifying Checksum [2021-11-05T06:05:11.666Z] b4d181a07f80: Download complete [2021-11-05T06:05:12.262Z] d287ab97295c: Verifying Checksum [2021-11-05T06:05:12.262Z] d287ab97295c: Download complete [2021-11-05T06:05:13.222Z] b4d181a07f80: Pull complete [2021-11-05T06:05:13.222Z] a1111a8f2ec3: Pull complete [2021-11-05T06:05:13.795Z] ed53099fbce6: Pull complete [2021-11-05T06:05:14.056Z] dc539afda2c1: Pull complete [2021-11-05T06:05:14.320Z] 77bc0d833cb6: Pull complete [2021-11-05T06:05:14.320Z] 9065ff56babe: Pull complete [2021-11-05T06:05:19.658Z] d287ab97295c: Pull complete [2021-11-05T06:05:19.658Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-11-05T06:05:19.658Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-11-05T06:05:19.658Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-11-05T06:05:19.757Z] prd-centos7-docker-4c-2g-27712 does not seem to be running inside a container [2021-11-05T06:05:19.794Z] $ 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-1054/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-1054 -v /w/workspace/gexfoundry_device-sdk-go_PR-1054:/w/workspace/gexfoundry_device-sdk-go_PR-1054:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1054@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1054@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-11-05T06:05:22.137Z] $ docker top 6ad58a96f776019b28f7744ab6db798e120a368d76338938fc8c51cc226368a5 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-11-05T06:05:22.539Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-11-05T06:05:22.842Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-11-05T06:05:23.152Z] + ls /var/log/sa-host [2021-11-05T06:05:23.152Z] + sadf -c /var/log/sa-host/sa05 [2021-11-05T06:05:23.152Z] file_magic: OK [2021-11-05T06:05:23.152Z] HZ: Using current value: 100 [2021-11-05T06:05:23.152Z] file_header: OK [2021-11-05T06:05:23.152Z] 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-05T06:05:23.152Z] Statistics: [2021-11-05T06:05:23.152Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-11-05T06:05:23.152Z] File successfully converted to sysstat format version 12.0.3 [2021-11-05T06:05:23.152Z] + sadf -c /var/log/sa-host/sa30 [2021-11-05T06:05:23.152Z] file_magic: OK [2021-11-05T06:05:23.152Z] HZ: Using current value: 100 [2021-11-05T06:05:23.152Z] file_header: OK [2021-11-05T06:05:23.152Z] 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-05T06:05:23.152Z] Statistics: [2021-11-05T06:05:23.152Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-11-05T06:05:23.152Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-11-05T06:05:23.453Z] provisioning config files... [2021-11-05T06:05:23.466Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1054@tmp/config5296523456290321691tmp [Pipeline] { [Pipeline] echo [2021-11-05T06:05:23.505Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-05T06:05:23.837Z] ---> create-netrc.sh [Pipeline] } [2021-11-05T06:05:23.855Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-11-05T06:05:24.243Z] ---> python-tools-install.sh [Pipeline] echo [2021-11-05T06:05:24.266Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-05T06:05:24.578Z] ---> sudo-logs.sh [2021-11-05T06:05:24.578Z] Archiving 'sudo' log.. [2021-11-05T06:05:24.578Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-27712.novalocal: Name or service not known [2021-11-05T06:05:24.578Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-27712.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-11-05T06:05:24.638Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-05T06:05:24.957Z] ---> job-cost.sh [2021-11-05T06:05:24.957Z] lf-activate-venv: SKIPPING [2021-11-05T06:05:24.957Z] DEBUG: total: 0.10999999940395355 [2021-11-05T06:05:24.957Z] INFO: Retrieving Stack Cost... [2021-11-05T06:05:25.526Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-11-05T06:05:25.790Z] INFO: Archiving Costs [Pipeline] echo [2021-11-05T06:05:25.817Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-11-05T06:05:26.147Z] ---> logs-deploy.sh [2021-11-05T06:05:26.147Z] lf-activate-venv: SKIPPING [2021-11-05T06:05:26.147Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1054/1 [2021-11-05T06:05:26.147Z] INFO: archiving workspace using pattern(s): [2021-11-05T06:05:27.091Z] Archives upload complete. [2021-11-05T06:05:27.091Z] INFO: archiving logs to Nexus