Pull request #1028 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of cloudxxx8 for edgexfoundry/device-sdk-go Obtained Jenkinsfile from ea18bd2a2f0b6188578eb2933ce7eda69b12e170+c02be292122d13d9a203aa1f23c4b78b0968bab2 (7d1327570607a519b32a861c5527ff57489e5e6b) Running in Durability level: PERFORMANCE_OPTIMIZED Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh975325620738124263.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f1d79d91c36788821211008368c3015072ca53ca 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-ssh8576687674509381203.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 f1d79d91c36788821211008368c3015072ca53ca The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1028/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1028/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1848494788860217086.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f1d79d91c36788821211008368c3015072ca53ca (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f1d79d91c36788821211008368c3015072ca53ca # timeout=10 Commit message: "Merge pull request #358 from ernestojeda/update-get-head-tags" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh5360735591258185388.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 9bc0e518fca0494fd51682b06eec2da29a326327 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1028/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1028/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh3482681524394380941.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 9bc0e518fca0494fd51682b06eec2da29a326327 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bc0e518fca0494fd51682b06eec2da29a326327 # timeout=10 Commit message: "Merge "Fix: Make archiveArtifacts overwriteable in lfJava"" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[centos7-docker-4c-2g, ubuntu18.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.16 DOCKER_BASE_IMAGE: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘centos7-docker-4c-2g’ Running on prd-centos7-docker-4c-2g-519 in /w/workspace/gexfoundry_device-sdk-go_PR-1028 [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-1028 # 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-1028@tmp/jenkins-gitclient-ssh577743247689764337.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-1028@tmp/jenkins-gitclient-ssh2152392092702194165.key > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1028/head:refs/remotes/origin/PR-1028 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit c02be292122d13d9a203aa1f23c4b78b0968bab2 into PR head commit ea18bd2a2f0b6188578eb2933ce7eda69b12e170 Merge succeeded, producing ea18bd2a2f0b6188578eb2933ce7eda69b12e170 Checking out Revision ea18bd2a2f0b6188578eb2933ce7eda69b12e170 (PR-1028) > git config core.sparsecheckout # timeout=10 > git checkout -f ea18bd2a2f0b6188578eb2933ce7eda69b12e170 # 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-1028@tmp/jenkins-gitclient-ssh349557287050390302.key > git merge c02be292122d13d9a203aa1f23c4b78b0968bab2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ea18bd2a2f0b6188578eb2933ce7eda69b12e170 # timeout=10 Commit message: "Merge branch 'main' into issue-1000" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2021-10-12T00:14:34.887Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2021-10-12T00:14:34.960Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2021-10-12T00:14:34.975Z] ========================================================= [2021-10-12T00:14:34.975Z] EdgeX Global Pipelines Version Info [2021-10-12T00:14:34.975Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk c1bd30226bc21c918a7f00257f38418bba3e1333 # timeout=10 [2021-10-12T00:14:36.133Z] ------------------- [2021-10-12T00:14:36.134Z] stable info: [2021-10-12T00:14:36.134Z] ------------------- [2021-10-12T00:14:36.134Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2021-10-12T00:14:36.134Z] Commit SHA: f1d79d91c36788821211008368c3015072ca53ca [2021-10-12T00:14:36.134Z] Message: update stable to v1.0.209 [2021-10-12T00:14:36.705Z] ------------------- [2021-10-12T00:14:36.705Z] experimental info: [2021-10-12T00:14:36.705Z] ------------------- [2021-10-12T00:14:36.705Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2021-10-12T00:14:36.705Z] Commit SHA: f1d79d91c36788821211008368c3015072ca53ca [2021-10-12T00:14:36.705Z] Message: update experimental to v1.0.209 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2021-10-12T00:14:36.784Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2021-10-12T00:14:36.793Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2021-10-12T00:14:36.803Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2021-10-12T00:14:36.812Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2021-10-12T00:14:36.822Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2021-10-12T00:14:36.832Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.16 [Pipeline] echo [2021-10-12T00:14:36.842Z] [edgeXSetupEnvironment]: set envvar DOCKER_BASE_IMAGE = nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [Pipeline] echo [2021-10-12T00:14:36.851Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2021-10-12T00:14:36.861Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2021-10-12T00:14:36.871Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2021-10-12T00:14:36.880Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2021-10-12T00:14:36.892Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2021-10-12T00:14:36.901Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2021-10-12T00:14:36.911Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2021-10-12T00:14:36.920Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2021-10-12T00:14:36.930Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2021-10-12T00:14:36.940Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2021-10-12T00:14:36.951Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2021-10-12T00:14:36.960Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2021-10-12T00:14:36.970Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2021-10-12T00:14:36.981Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2021-10-12T00:14:36.991Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2021-10-12T00:14:37.001Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2021-10-12T00:14:37.012Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2021-10-12T00:14:37.022Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2021-10-12T00:14:37.032Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2021-10-12T00:14:37.042Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1028 [Pipeline] echo [2021-10-12T00:14:37.052Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1028 [Pipeline] echo [2021-10-12T00:14:37.063Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1028 [Pipeline] echo [2021-10-12T00:14:37.075Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ea18bd2a2f0b6188578eb2933ce7eda69b12e170 [Pipeline] echo [2021-10-12T00:14:37.088Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ea18bd2 [Pipeline] echo [2021-10-12T00:14:37.098Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-12T00:14:37.135Z] provisioning config files... [2021-10-12T00:14:37.153Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1028@tmp/config7735126594922582599tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-12T00:14:37.465Z] ---> docker-login.sh [2021-10-12T00:14:37.465Z] nexus3.edgexfoundry.org:10001 [2021-10-12T00:14:37.465Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-12T00:14:37.728Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-12T00:14:37.728Z] Configure a credential helper to remove this warning. See [2021-10-12T00:14:37.728Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-12T00:14:37.728Z] [2021-10-12T00:14:37.728Z] Login Succeeded [2021-10-12T00:14:37.728Z] nexus3.edgexfoundry.org:10002 [2021-10-12T00:14:37.728Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-12T00:14:37.728Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-12T00:14:37.728Z] Configure a credential helper to remove this warning. See [2021-10-12T00:14:37.728Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-12T00:14:37.728Z] [2021-10-12T00:14:37.728Z] Login Succeeded [2021-10-12T00:14:37.728Z] nexus3.edgexfoundry.org:10003 [2021-10-12T00:14:37.728Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-12T00:14:37.989Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-12T00:14:37.989Z] Configure a credential helper to remove this warning. See [2021-10-12T00:14:37.989Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-12T00:14:37.989Z] [2021-10-12T00:14:37.989Z] Login Succeeded [2021-10-12T00:14:37.989Z] nexus3.edgexfoundry.org:10004 [2021-10-12T00:14:37.989Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-12T00:14:37.989Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-12T00:14:37.989Z] Configure a credential helper to remove this warning. See [2021-10-12T00:14:37.989Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-12T00:14:37.989Z] [2021-10-12T00:14:37.989Z] Login Succeeded [2021-10-12T00:14:37.989Z] docker.io [2021-10-12T00:14:37.989Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-12T00:14:38.249Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-12T00:14:38.249Z] Configure a credential helper to remove this warning. See [2021-10-12T00:14:38.249Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-12T00:14:38.249Z] [2021-10-12T00:14:38.249Z] Login Succeeded [2021-10-12T00:14:38.249Z] ---> docker-login.sh ends [Pipeline] } [2021-10-12T00:14:38.258Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-10-12T00:14:38.687Z] + git log --format=format:%s -1 ea18bd2a2f0b6188578eb2933ce7eda69b12e170 [Pipeline] echo [2021-10-12T00:14:38.724Z] GIT_COMMIT: ea18bd2a2f0b6188578eb2933ce7eda69b12e170, Commit Message: Merge branch 'main' into issue-1000 [Pipeline] echo [2021-10-12T00:14:38.734Z] This is not a build commit. [Pipeline] isUnix [Pipeline] sh [2021-10-12T00:14:39.146Z] + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-12T00:14:39.146Z] [2021-10-12T00:14:39.146Z] Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh [2021-10-12T00:14:39.453Z] + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-12T00:14:39.453Z] latest: Pulling from edgex-devops/git-semver [2021-10-12T00:14:39.453Z] a0d0a0d46f8b: Pulling fs layer [2021-10-12T00:14:39.453Z] 3e5f54012d9b: Pulling fs layer [2021-10-12T00:14:39.453Z] 4c7163046ea9: Pulling fs layer [2021-10-12T00:14:39.453Z] 0c2d73faf560: Pulling fs layer [2021-10-12T00:14:39.453Z] 0c2d73faf560: Waiting [2021-10-12T00:14:39.453Z] 3e5f54012d9b: Verifying Checksum [2021-10-12T00:14:39.453Z] 3e5f54012d9b: Download complete [2021-10-12T00:14:39.453Z] a0d0a0d46f8b: Verifying Checksum [2021-10-12T00:14:39.453Z] a0d0a0d46f8b: Download complete [2021-10-12T00:14:39.453Z] 0c2d73faf560: Verifying Checksum [2021-10-12T00:14:39.453Z] 0c2d73faf560: Download complete [2021-10-12T00:14:39.453Z] 4c7163046ea9: Verifying Checksum [2021-10-12T00:14:39.453Z] 4c7163046ea9: Download complete [2021-10-12T00:14:39.720Z] a0d0a0d46f8b: Pull complete [2021-10-12T00:14:39.720Z] 3e5f54012d9b: Pull complete [2021-10-12T00:14:39.990Z] 4c7163046ea9: Pull complete [2021-10-12T00:14:40.251Z] 0c2d73faf560: Pull complete [2021-10-12T00:14:40.251Z] Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 [2021-10-12T00:14:40.251Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [2021-10-12T00:14:40.251Z] nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer [2021-10-12T00:14:40.330Z] prd-centos7-docker-4c-2g-519 does not seem to be running inside a container [2021-10-12T00:14:39.085Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1028 -v /w/workspace/gexfoundry_device-sdk-go_PR-1028:/w/workspace/gexfoundry_device-sdk-go_PR-1028:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1028@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1028@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat [2021-10-12T00:14:39.701Z] $ docker top f9069965ba4e36f0639f8260fc2d67938d82fd4e99e42dfa2614da07eda17cfb -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2021-10-12T00:14:41.073Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-12T00:14:41.073Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-12T00:14:41.170Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-12T00:14:39.890Z] $ docker exec f9069965ba4e36f0639f8260fc2d67938d82fd4e99e42dfa2614da07eda17cfb ssh-agent [2021-10-12T00:14:41.264Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXNnNhIJ/agent.14 [2021-10-12T00:14:41.264Z] SSH_AGENT_PID=21 [2021-10-12T00:14:41.270Z] Running ssh-add (command line suppressed) [2021-10-12T00:14:40.078Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1028@tmp/private_key_1375868590125889003.key (/w/workspace/gexfoundry_device-sdk-go_PR-1028@tmp/private_key_1375868590125889003.key) [2021-10-12T00:14:41.374Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-12T00:14:41.670Z] + git tag --points-at HEAD [Pipeline] } [2021-10-12T00:14:40.401Z] $ docker exec --env ******** --env ******** f9069965ba4e36f0639f8260fc2d67938d82fd4e99e42dfa2614da07eda17cfb ssh-agent -k [2021-10-12T00:14:40.496Z] unset SSH_AUTH_SOCK; [2021-10-12T00:14:40.497Z] unset SSH_AGENT_PID; [2021-10-12T00:14:40.497Z] echo Agent pid 21 killed; [2021-10-12T00:14:41.793Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2021-10-12T00:14:41.815Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2021-10-12T00:14:41.815Z] [ssh-agent] Looking for ssh-agent implementation... [2021-10-12T00:14:41.946Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2021-10-12T00:14:40.665Z] $ docker exec f9069965ba4e36f0639f8260fc2d67938d82fd4e99e42dfa2614da07eda17cfb ssh-agent [2021-10-12T00:14:42.050Z] SSH_AUTH_SOCK=/tmp/ssh-XXXXXXklcDMG/agent.54 [2021-10-12T00:14:42.050Z] SSH_AGENT_PID=61 [2021-10-12T00:14:42.055Z] Running ssh-add (command line suppressed) [2021-10-12T00:14:40.876Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1028@tmp/private_key_3531992930495590547.key (/w/workspace/gexfoundry_device-sdk-go_PR-1028@tmp/private_key_3531992930495590547.key) [2021-10-12T00:14:42.174Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2021-10-12T00:14:42.475Z] + git semver init [2021-10-12T00:14:42.475Z] # -> Open(): unable to determine branch for HEAD [2021-10-12T00:14:42.475Z] # $GIT_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1028/.git [2021-10-12T00:14:42.475Z] # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-sdk-go_PR-1028 [2021-10-12T00:14:42.475Z] # $SEMVER_REMOTE_NAME = origin [2021-10-12T00:14:42.475Z] # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org [2021-10-12T00:14:42.475Z] # $SEMVER_USER_NAME = edgex-jenkins [2021-10-12T00:14:42.475Z] # $SEMVER_BRANCH = PR-1028 [2021-10-12T00:14:42.475Z] # $SEMVER_TEMP = /tmp/semver-838882820 [2021-10-12T00:14:42.475Z] # git clone --branch semver git@github.com:edgexfoundry/device-sdk-go.git $SEMVER_TEMP [2021-10-12T00:14:43.417Z] # '/tmp/semver-838882820' -> '/w/workspace/gexfoundry_device-sdk-go_PR-1028/.semver' [2021-10-12T00:14:43.417Z] # -> Force: false [2021-10-12T00:14:43.417Z] # $SEMVER_DIR = /w/workspace/gexfoundry_device-sdk-go_PR-1028/.semver [Pipeline] } [2021-10-12T00:14:42.148Z] $ docker exec --env ******** --env ******** f9069965ba4e36f0639f8260fc2d67938d82fd4e99e42dfa2614da07eda17cfb ssh-agent -k [2021-10-12T00:14:42.254Z] unset SSH_AUTH_SOCK; [2021-10-12T00:14:42.255Z] unset SSH_AGENT_PID; [2021-10-12T00:14:42.255Z] echo Agent pid 61 killed; [2021-10-12T00:14:43.548Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2021-10-12T00:14:43.857Z] + git semver [Pipeline] } [2021-10-12T00:14:42.589Z] $ docker stop --time=1 f9069965ba4e36f0639f8260fc2d67938d82fd4e99e42dfa2614da07eda17cfb [2021-10-12T00:14:43.840Z] $ docker rm -f f9069965ba4e36f0639f8260fc2d67938d82fd4e99e42dfa2614da07eda17cfb [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-12T00:14:45.480Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2021-10-12T00:14:45.709Z] Stashed 1 file(s) [Pipeline] echo [2021-10-12T00:14:45.712Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] node [Pipeline] node [2021-10-12T00:15:00.926Z] Still waiting to schedule task [2021-10-12T00:15:00.926Z] Waiting for next available executor on ‘centos7-docker-4c-2g’ [2021-10-12T00:15:00.927Z] Still waiting to schedule task [2021-10-12T00:15:00.928Z] ‘prd-ubuntu18.04-docker-arm64-4c-16g-510’ is offline [2021-10-12T00:18:17.124Z] Running on prd-centos7-docker-4c-2g-524 in /w/workspace/gexfoundry_device-sdk-go_PR-1028 [Pipeline] { [Pipeline] ws [2021-10-12T00:18:17.137Z] Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout [2021-10-12T00:18:17.222Z] Selected Git installation does not exist. Using Default [2021-10-12T00:18:17.223Z] The recommended git tool is: NONE [2021-10-12T00:18:19.306Z] using credential edgex-jenkins-ssh [2021-10-12T00:18:19.317Z] Cloning the remote Git repository [2021-10-12T00:18:19.342Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-10-12T00:18:19.396Z] > git init /w/workspace/device-sdk-go/4 # timeout=10 [2021-10-12T00:18:19.431Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-10-12T00:18:19.431Z] > git --version # timeout=10 [2021-10-12T00:18:19.446Z] > git --version # 'git version 2.24.4' [2021-10-12T00:18:19.446Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-12T00:18:19.469Z] [INFO] Currently running in a labeled security context [2021-10-12T00:18:19.469Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-12T00:18:19.470Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/4@tmp/jenkins-gitclient-ssh4629024713592276104.key [2021-10-12T00:18:19.493Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-12T00:18:20.202Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-10-12T00:18:20.207Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-12T00:18:20.224Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-10-12T00:18:20.238Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-10-12T00:18:20.238Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-12T00:18:20.239Z] [INFO] Currently running in a labeled security context [2021-10-12T00:18:20.239Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-12T00:18:20.239Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/4@tmp/jenkins-gitclient-ssh8389469163351963029.key [2021-10-12T00:18:20.253Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1028/head:refs/remotes/origin/PR-1028 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-10-12T00:18:20.812Z] Merging remotes/origin/main commit c02be292122d13d9a203aa1f23c4b78b0968bab2 into PR head commit ea18bd2a2f0b6188578eb2933ce7eda69b12e170 [2021-10-12T00:18:20.948Z] Merge succeeded, producing ea18bd2a2f0b6188578eb2933ce7eda69b12e170 [2021-10-12T00:18:20.948Z] Checking out Revision ea18bd2a2f0b6188578eb2933ce7eda69b12e170 (PR-1028) [2021-10-12T00:18:20.842Z] > git config core.sparsecheckout # timeout=10 [2021-10-12T00:18:20.850Z] > git checkout -f ea18bd2a2f0b6188578eb2933ce7eda69b12e170 # timeout=10 [2021-10-12T00:18:20.892Z] > git remote # timeout=10 [2021-10-12T00:18:20.906Z] > git config --get remote.origin.url # timeout=10 [2021-10-12T00:18:20.919Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-12T00:18:20.920Z] [INFO] Currently running in a labeled security context [2021-10-12T00:18:20.921Z] [INFO] Currently SELinux is 'enforcing' on the host [2021-10-12T00:18:20.921Z] > /usr/bin/chcon --type=ssh_home_t /w/workspace/device-sdk-go/4@tmp/jenkins-gitclient-ssh2886660577111561174.key [2021-10-12T00:18:20.929Z] > git merge c02be292122d13d9a203aa1f23c4b78b0968bab2 # timeout=10 [2021-10-12T00:18:20.943Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-10-12T00:18:20.953Z] > git config core.sparsecheckout # timeout=10 [2021-10-12T00:18:20.961Z] > git checkout -f ea18bd2a2f0b6188578eb2933ce7eda69b12e170 # timeout=10 [2021-10-12T00:18:24.052Z] Running on prd-ubuntu18.04-docker-arm64-4c-16g-523 in /w/workspace/gexfoundry_device-sdk-go_PR-1028 [Pipeline] { [Pipeline] ws [2021-10-12T00:18:24.064Z] Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout [2021-10-12T00:18:24.277Z] Selected Git installation does not exist. Using Default [2021-10-12T00:18:24.277Z] The recommended git tool is: NONE [2021-10-12T00:18:24.542Z] Commit message: "Merge branch 'main' into issue-1000" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-12T00:18:24.888Z] provisioning config files... [2021-10-12T00:18:24.903Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config4434260733136445802tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-12T00:18:25.337Z] ---> docker-login.sh [2021-10-12T00:18:25.337Z] nexus3.edgexfoundry.org:10001 [2021-10-12T00:18:25.337Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-12T00:18:25.337Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-12T00:18:25.337Z] Configure a credential helper to remove this warning. See [2021-10-12T00:18:25.337Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-12T00:18:25.337Z] [2021-10-12T00:18:25.337Z] Login Succeeded [2021-10-12T00:18:25.337Z] nexus3.edgexfoundry.org:10002 [2021-10-12T00:18:25.607Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-12T00:18:25.607Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-12T00:18:25.607Z] Configure a credential helper to remove this warning. See [2021-10-12T00:18:25.607Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-12T00:18:25.607Z] [2021-10-12T00:18:25.607Z] Login Succeeded [2021-10-12T00:18:25.607Z] nexus3.edgexfoundry.org:10003 [2021-10-12T00:18:25.607Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-12T00:18:25.607Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-12T00:18:25.607Z] Configure a credential helper to remove this warning. See [2021-10-12T00:18:25.607Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-12T00:18:25.607Z] [2021-10-12T00:18:25.607Z] Login Succeeded [2021-10-12T00:18:25.607Z] nexus3.edgexfoundry.org:10004 [2021-10-12T00:18:25.866Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-12T00:18:25.866Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-12T00:18:25.866Z] Configure a credential helper to remove this warning. See [2021-10-12T00:18:25.866Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-12T00:18:25.866Z] [2021-10-12T00:18:25.866Z] Login Succeeded [2021-10-12T00:18:25.866Z] docker.io [2021-10-12T00:18:25.866Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-12T00:18:26.125Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-12T00:18:26.125Z] Configure a credential helper to remove this warning. See [2021-10-12T00:18:26.125Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-12T00:18:26.125Z] [2021-10-12T00:18:26.125Z] Login Succeeded [2021-10-12T00:18:26.125Z] ---> docker-login.sh ends [Pipeline] } [2021-10-12T00:18:26.162Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-10-12T00:18:26.321Z] ========================================================= [2021-10-12T00:18:26.321Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine] [2021-10-12T00:18:26.321Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-10-12T00:18:26.632Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine --build-arg 'MAKE=echo noop' --target=builder . [2021-10-12T00:18:26.632Z] Sending build context to Docker daemon 2.679MB [2021-10-12T00:18:26.632Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2021-10-12T00:18:26.632Z] Step 2/10 : FROM ${BASE} AS builder [2021-10-12T00:18:26.632Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base [2021-10-12T00:18:26.632Z] 4e9f2cdf4387: Pulling fs layer [2021-10-12T00:18:26.632Z] 57d31006c564: Pulling fs layer [2021-10-12T00:18:26.632Z] bd5ccded8296: Pulling fs layer [2021-10-12T00:18:26.632Z] 304dd3a0f381: Pulling fs layer [2021-10-12T00:18:26.632Z] d37cda54a23b: Pulling fs layer [2021-10-12T00:18:26.632Z] bae75c0f2455: Pulling fs layer [2021-10-12T00:18:26.632Z] 806579b3d29a: Pulling fs layer [2021-10-12T00:18:26.632Z] c77eb801bf70: Pulling fs layer [2021-10-12T00:18:26.632Z] 6d0567d44e1a: Pulling fs layer [2021-10-12T00:18:26.632Z] 304dd3a0f381: Waiting [2021-10-12T00:18:26.632Z] d37cda54a23b: Waiting [2021-10-12T00:18:26.632Z] bae75c0f2455: Waiting [2021-10-12T00:18:26.632Z] 806579b3d29a: Waiting [2021-10-12T00:18:26.632Z] c77eb801bf70: Waiting [2021-10-12T00:18:26.632Z] 6d0567d44e1a: Waiting [2021-10-12T00:18:26.632Z] bd5ccded8296: Verifying Checksum [2021-10-12T00:18:26.632Z] bd5ccded8296: Download complete [2021-10-12T00:18:26.632Z] 57d31006c564: Verifying Checksum [2021-10-12T00:18:26.632Z] 57d31006c564: Download complete [2021-10-12T00:18:26.632Z] d37cda54a23b: Verifying Checksum [2021-10-12T00:18:26.632Z] d37cda54a23b: Download complete [2021-10-12T00:18:26.895Z] bae75c0f2455: Verifying Checksum [2021-10-12T00:18:26.895Z] bae75c0f2455: Download complete [2021-10-12T00:18:26.895Z] 4e9f2cdf4387: Verifying Checksum [2021-10-12T00:18:26.895Z] 4e9f2cdf4387: Download complete [2021-10-12T00:18:26.895Z] 806579b3d29a: Verifying Checksum [2021-10-12T00:18:26.895Z] 806579b3d29a: Download complete [2021-10-12T00:18:26.895Z] c77eb801bf70: Verifying Checksum [2021-10-12T00:18:26.895Z] c77eb801bf70: Download complete [2021-10-12T00:18:27.163Z] 4e9f2cdf4387: Pull complete [2021-10-12T00:18:27.428Z] 57d31006c564: Pull complete [2021-10-12T00:18:27.428Z] 304dd3a0f381: Verifying Checksum [2021-10-12T00:18:27.428Z] 304dd3a0f381: Download complete [2021-10-12T00:18:27.428Z] bd5ccded8296: Pull complete [2021-10-12T00:18:27.690Z] 6d0567d44e1a: Verifying Checksum [2021-10-12T00:18:27.690Z] 6d0567d44e1a: Download complete [2021-10-12T00:18:31.013Z] 304dd3a0f381: Pull complete [2021-10-12T00:18:31.233Z] using credential edgex-jenkins-ssh [2021-10-12T00:18:31.256Z] Cloning the remote Git repository [2021-10-12T00:18:31.280Z] d37cda54a23b: Pull complete [2021-10-12T00:18:31.280Z] bae75c0f2455: Pull complete [2021-10-12T00:18:31.280Z] 806579b3d29a: Pull complete [2021-10-12T00:18:31.545Z] c77eb801bf70: Pull complete [2021-10-12T00:18:31.335Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2021-10-12T00:18:31.468Z] > git init /w/workspace/device-sdk-go/4 # timeout=10 [2021-10-12T00:18:31.616Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-10-12T00:18:31.617Z] > git --version # timeout=10 [2021-10-12T00:18:31.642Z] > git --version # 'git version 2.17.1' [2021-10-12T00:18:31.645Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-12T00:18:31.745Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-12T00:18:34.101Z] 6d0567d44e1a: Pull complete [2021-10-12T00:18:34.101Z] Digest: sha256:53f76eca38b35ad9f985c2fb57ce55683e6a223a937aed0adb215e74043799cd [2021-10-12T00:18:34.101Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.16-alpine [2021-10-12T00:18:34.101Z] ---> e839a31ac9d1 [2021-10-12T00:18:34.101Z] Step 3/10 : ARG MAKE=make build [2021-10-12T00:18:35.401Z] Merging remotes/origin/main commit c02be292122d13d9a203aa1f23c4b78b0968bab2 into PR head commit ea18bd2a2f0b6188578eb2933ce7eda69b12e170 [2021-10-12T00:18:35.680Z] Merge succeeded, producing ea18bd2a2f0b6188578eb2933ce7eda69b12e170 [2021-10-12T00:18:35.681Z] Checking out Revision ea18bd2a2f0b6188578eb2933ce7eda69b12e170 (PR-1028) [2021-10-12T00:18:34.539Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-10-12T00:18:34.558Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2021-10-12T00:18:34.585Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2021-10-12T00:18:34.626Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2021-10-12T00:18:34.627Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-12T00:18:34.644Z] > git fetch --tags --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1028/head:refs/remotes/origin/PR-1028 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2021-10-12T00:18:35.424Z] > git config core.sparsecheckout # timeout=10 [2021-10-12T00:18:35.444Z] > git checkout -f ea18bd2a2f0b6188578eb2933ce7eda69b12e170 # timeout=10 [2021-10-12T00:18:35.575Z] > git remote # timeout=10 [2021-10-12T00:18:35.600Z] > git config --get remote.origin.url # timeout=10 [2021-10-12T00:18:35.616Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2021-10-12T00:18:35.630Z] > git merge c02be292122d13d9a203aa1f23c4b78b0968bab2 # timeout=10 [2021-10-12T00:18:35.660Z] > git rev-parse HEAD^{commit} # timeout=10 [2021-10-12T00:18:35.687Z] > git config core.sparsecheckout # timeout=10 [2021-10-12T00:18:35.715Z] > git checkout -f ea18bd2a2f0b6188578eb2933ce7eda69b12e170 # timeout=10 [2021-10-12T00:18:36.010Z] ---> Running in 9f14dc57fdfe [2021-10-12T00:18:36.010Z] Removing intermediate container 9f14dc57fdfe [2021-10-12T00:18:36.010Z] ---> 2215a064c485 [2021-10-12T00:18:36.010Z] Step 4/10 : WORKDIR /device-sdk-go [2021-10-12T00:18:36.010Z] ---> Running in 7a7cdc4bf245 [2021-10-12T00:18:36.010Z] Removing intermediate container 7a7cdc4bf245 [2021-10-12T00:18:36.010Z] ---> 71b82b1a5777 [2021-10-12T00:18:36.010Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-12T00:18:36.010Z] ---> Running in 4408106cc901 [2021-10-12T00:18:36.010Z] Removing intermediate container 4408106cc901 [2021-10-12T00:18:36.010Z] ---> bcd354e1513b [2021-10-12T00:18:36.010Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-12T00:18:36.010Z] ---> Running in bfe7cd9fcb6f [2021-10-12T00:18:36.593Z] Removing intermediate container bfe7cd9fcb6f [2021-10-12T00:18:36.593Z] ---> 899142fb8a37 [2021-10-12T00:18:36.593Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-10-12T00:18:36.593Z] ---> Running in f4e20f70ce25 [2021-10-12T00:18:36.855Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-10-12T00:18:37.799Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-10-12T00:18:38.060Z] OK: 219 MiB in 52 packages [2021-10-12T00:18:38.321Z] Removing intermediate container f4e20f70ce25 [2021-10-12T00:18:38.321Z] ---> bc3b01e25ef8 [2021-10-12T00:18:38.321Z] Step 8/10 : COPY . . [2021-10-12T00:18:38.589Z] ---> 9db7283d186f [2021-10-12T00:18:38.589Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-12T00:18:38.589Z] ---> Running in 87b460f88b1b [2021-10-12T00:18:40.316Z] Commit message: "Merge branch 'main' into issue-1000" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-12T00:18:40.723Z] provisioning config files... [2021-10-12T00:18:40.762Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config1048449168398452943tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-12T00:18:41.569Z] ---> docker-login.sh [2021-10-12T00:18:41.569Z] nexus3.edgexfoundry.org:10001 [2021-10-12T00:18:43.051Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-12T00:18:43.663Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-12T00:18:43.663Z] Configure a credential helper to remove this warning. See [2021-10-12T00:18:43.663Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-12T00:18:43.663Z] [2021-10-12T00:18:43.663Z] Login Succeeded [2021-10-12T00:18:43.663Z] nexus3.edgexfoundry.org:10002 [2021-10-12T00:18:43.942Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-12T00:18:44.222Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-12T00:18:44.222Z] Configure a credential helper to remove this warning. See [2021-10-12T00:18:44.222Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-12T00:18:44.222Z] [2021-10-12T00:18:44.222Z] Login Succeeded [2021-10-12T00:18:44.222Z] nexus3.edgexfoundry.org:10003 [2021-10-12T00:18:44.512Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-12T00:18:44.801Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-12T00:18:44.801Z] Configure a credential helper to remove this warning. See [2021-10-12T00:18:44.801Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-12T00:18:44.801Z] [2021-10-12T00:18:44.801Z] Login Succeeded [2021-10-12T00:18:44.801Z] nexus3.edgexfoundry.org:10004 [2021-10-12T00:18:45.413Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-12T00:18:45.413Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-12T00:18:45.413Z] Configure a credential helper to remove this warning. See [2021-10-12T00:18:45.413Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-12T00:18:45.413Z] [2021-10-12T00:18:45.413Z] Login Succeeded [2021-10-12T00:18:45.413Z] docker.io [2021-10-12T00:18:46.024Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2021-10-12T00:18:46.311Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2021-10-12T00:18:46.311Z] Configure a credential helper to remove this warning. See [2021-10-12T00:18:46.311Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2021-10-12T00:18:46.311Z] [2021-10-12T00:18:46.311Z] Login Succeeded [2021-10-12T00:18:46.311Z] ---> docker-login.sh ends [Pipeline] } [2021-10-12T00:18:46.413Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2021-10-12T00:18:47.015Z] ========================================================= [2021-10-12T00:18:47.015Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine] [2021-10-12T00:18:47.015Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2021-10-12T00:18:47.398Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine --build-arg MAKE=echo noop --target=builder . [2021-10-12T00:18:48.044Z] Sending build context to Docker daemon 2.678MB [2021-10-12T00:18:48.044Z] Step 1/10 : ARG BASE=golang:1.16-alpine3.14 [2021-10-12T00:18:48.044Z] Step 2/10 : FROM ${BASE} AS builder [2021-10-12T00:18:48.326Z] 1.16-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2021-10-12T00:18:48.326Z] bbf911997326: Pulling fs layer [2021-10-12T00:18:48.326Z] 58ec367f63d7: Pulling fs layer [2021-10-12T00:18:48.326Z] 1b4a6ffa7d45: Pulling fs layer [2021-10-12T00:18:48.326Z] fc5181fea5dc: Pulling fs layer [2021-10-12T00:18:48.326Z] 9c418107303f: Pulling fs layer [2021-10-12T00:18:48.326Z] 284eca6f2348: Pulling fs layer [2021-10-12T00:18:48.326Z] 842844d905b1: Pulling fs layer [2021-10-12T00:18:48.326Z] 901a3a57568e: Pulling fs layer [2021-10-12T00:18:48.326Z] fc5181fea5dc: Waiting [2021-10-12T00:18:48.326Z] 9c418107303f: Waiting [2021-10-12T00:18:48.326Z] 284eca6f2348: Waiting [2021-10-12T00:18:48.326Z] 842844d905b1: Waiting [2021-10-12T00:18:48.326Z] 1b4a6ffa7d45: Download complete [2021-10-12T00:18:48.326Z] 58ec367f63d7: Download complete [2021-10-12T00:18:48.326Z] 9c418107303f: Verifying Checksum [2021-10-12T00:18:48.326Z] 9c418107303f: Download complete [2021-10-12T00:18:48.326Z] 284eca6f2348: Verifying Checksum [2021-10-12T00:18:48.326Z] 284eca6f2348: Download complete [2021-10-12T00:18:48.326Z] 842844d905b1: Verifying Checksum [2021-10-12T00:18:48.326Z] 842844d905b1: Download complete [2021-10-12T00:18:48.611Z] bbf911997326: Verifying Checksum [2021-10-12T00:18:49.234Z] bbf911997326: Pull complete [2021-10-12T00:18:50.256Z] 58ec367f63d7: Pull complete [2021-10-12T00:18:50.539Z] 1b4a6ffa7d45: Pull complete [2021-10-12T00:18:51.158Z] 901a3a57568e: Verifying Checksum [2021-10-12T00:18:51.158Z] 901a3a57568e: Download complete [2021-10-12T00:18:51.765Z] fc5181fea5dc: Verifying Checksum [2021-10-12T00:18:51.765Z] fc5181fea5dc: Download complete [2021-10-12T00:19:01.987Z] fc5181fea5dc: Pull complete [2021-10-12T00:19:01.987Z] 9c418107303f: Pull complete [2021-10-12T00:19:01.987Z] 284eca6f2348: Pull complete [2021-10-12T00:19:01.987Z] 842844d905b1: Pull complete [2021-10-12T00:19:07.454Z] 901a3a57568e: Pull complete [2021-10-12T00:19:07.454Z] Digest: sha256:92108203400274521d8db92c8dd03fc26ad1e7e27843eaecabaf975bf4a1b1e7 [2021-10-12T00:19:07.733Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.16-alpine [2021-10-12T00:19:07.733Z] ---> 72ade6ffb461 [2021-10-12T00:19:07.733Z] Step 3/10 : ARG MAKE=make build [2021-10-12T00:19:10.716Z] Removing intermediate container 87b460f88b1b [2021-10-12T00:19:10.716Z] ---> c1c0ea76c84b [2021-10-12T00:19:10.716Z] Step 10/10 : RUN ${MAKE} [2021-10-12T00:19:10.716Z] ---> Running in 2e65f1867128 [2021-10-12T00:19:10.716Z] noop [2021-10-12T00:19:10.716Z] Removing intermediate container 2e65f1867128 [2021-10-12T00:19:10.716Z] ---> 1a5cd4d77dd8 [2021-10-12T00:19:10.716Z] Successfully built 1a5cd4d77dd8 [2021-10-12T00:19:10.716Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2021-10-12T00:19:11.011Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-12T00:19:11.011Z] . [Pipeline] withDockerContainer [2021-10-12T00:19:11.081Z] prd-centos7-docker-4c-2g-524 does not seem to be running inside a container [2021-10-12T00:19:11.123Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-10-12T00:19:11.472Z] $ docker top 80fe7e423705a0834ea6b021d20251d58ce06b14103718d53c1ed9142dd2c656 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-12T00:19:11.825Z] + go version [2021-10-12T00:19:11.825Z] go version go1.16.8 linux/amd64 [Pipeline] } [2021-10-12T00:19:11.837Z] $ docker stop --time=1 80fe7e423705a0834ea6b021d20251d58ce06b14103718d53c1ed9142dd2c656 [2021-10-12T00:19:13.005Z] $ docker rm -f 80fe7e423705a0834ea6b021d20251d58ce06b14103718d53c1ed9142dd2c656 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-12T00:19:13.542Z] + docker inspect -f . ci-base-image-x86_64 [2021-10-12T00:19:13.542Z] . [Pipeline] withDockerContainer [2021-10-12T00:19:13.612Z] prd-centos7-docker-4c-2g-524 does not seem to be running inside a container [2021-10-12T00:19:13.657Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2021-10-12T00:19:13.991Z] $ docker top 501cc2ce81aff1746f6ce14155a96f0f1c54284a0c1554b2d296ec0387a61c7d -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-10-12T00:19:14.354Z] + make test [2021-10-12T00:19:14.354Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-10-12T00:19:16.078Z] ---> Running in 61e43ee31a5c [2021-10-12T00:19:16.078Z] Removing intermediate container 61e43ee31a5c [2021-10-12T00:19:16.078Z] ---> 7d47a35e780c [2021-10-12T00:19:16.078Z] Step 4/10 : WORKDIR /device-sdk-go [2021-10-12T00:19:16.078Z] ---> Running in ba36e95c1730 [2021-10-12T00:19:16.360Z] Removing intermediate container ba36e95c1730 [2021-10-12T00:19:16.360Z] ---> 2423a13e9ab2 [2021-10-12T00:19:16.360Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-12T00:19:16.651Z] ---> Running in 06db0b47db96 [2021-10-12T00:19:17.260Z] Removing intermediate container 06db0b47db96 [2021-10-12T00:19:17.260Z] ---> 0681006111c7 [2021-10-12T00:19:17.260Z] Step 6/10 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-12T00:19:17.260Z] ---> Running in 95e099c1aaa3 [2021-10-12T00:19:19.692Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-10-12T00:19:20.695Z] Removing intermediate container 95e099c1aaa3 [2021-10-12T00:19:20.695Z] ---> 05a4b78c4f43 [2021-10-12T00:19:20.695Z] Step 7/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-10-12T00:19:20.695Z] ---> Running in 39d68693d558 [2021-10-12T00:19:21.702Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-10-12T00:19:22.695Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-10-12T00:19:23.689Z] OK: 218 MiB in 52 packages [2021-10-12T00:19:24.682Z] Removing intermediate container 39d68693d558 [2021-10-12T00:19:24.682Z] ---> 472c71371f60 [2021-10-12T00:19:24.682Z] Step 8/10 : COPY . . [2021-10-12T00:19:26.146Z] ---> d5c2406df15e [2021-10-12T00:19:26.146Z] Step 9/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-12T00:19:26.146Z] ---> Running in 59fafa9cb0d5 [2021-10-12T00:19:46.379Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-10-12T00:19:46.379Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-10-12T00:19:46.379Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-10-12T00:19:46.379Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.050s coverage: 23.5% of statements [2021-10-12T00:19:46.379Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-10-12T00:19:46.379Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.058s coverage: 28.1% of statements [2021-10-12T00:19:46.379Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.061s coverage: 78.9% of statements [2021-10-12T00:19:46.379Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.046s coverage: 9.0% of statements [2021-10-12T00:19:46.379Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-10-12T00:19:46.379Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-10-12T00:19:46.379Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-10-12T00:19:46.379Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.065s coverage: 28.7% of statements [2021-10-12T00:19:46.379Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-10-12T00:19:46.954Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.057s coverage: 83.3% of statements [2021-10-12T00:19:46.954Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-10-12T00:19:46.954Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-10-12T00:19:46.954Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.075s coverage: 57.8% of statements [2021-10-12T00:19:48.365Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.816s coverage: 89.0% of statements [2021-10-12T00:19:48.365Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-10-12T00:19:48.365Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.049s coverage: 4.9% of statements [2021-10-12T00:19:48.365Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-10-12T00:19:48.365Z] GO111MODULE=on go vet ./... [2021-10-12T00:20:06.558Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-10-12T00:20:06.558Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-10-12T00:20:06.558Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-10-12T00:20:06.577Z] $ docker stop --time=1 501cc2ce81aff1746f6ce14155a96f0f1c54284a0c1554b2d296ec0387a61c7d [2021-10-12T00:20:08.111Z] $ docker rm -f 501cc2ce81aff1746f6ce14155a96f0f1c54284a0c1554b2d296ec0387a61c7d [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-12T00:20:08.555Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-10-12T00:20:08.742Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2021-10-12T00:20:09.961Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-10-12T00:20:10.251Z] + ls -al . [2021-10-12T00:20:10.251Z] total 264 [2021-10-12T00:20:10.251Z] drwxrwxr-x. 10 jenkins jenkins 4096 Oct 12 00:20 . [2021-10-12T00:20:10.251Z] drwxrwxr-x. 4 jenkins jenkins 28 Oct 12 00:18 .. [2021-10-12T00:20:10.251Z] drwxrwxr-x. 2 jenkins jenkins 37 Oct 12 00:18 bin [2021-10-12T00:20:10.251Z] -rw-rw-r--. 1 jenkins jenkins 24816 Oct 12 00:18 CHANGELOG.md [2021-10-12T00:20:10.251Z] -rw-r--r--. 1 jenkins jenkins 126433 Oct 12 00:19 coverage.out [2021-10-12T00:20:10.251Z] -rw-rw-r--. 1 jenkins jenkins 140 Oct 12 00:18 .dockerignore [2021-10-12T00:20:10.251Z] drwxrwxr-x. 5 jenkins jenkins 62 Oct 12 00:18 example [2021-10-12T00:20:10.251Z] drwxrwxr-x. 8 jenkins jenkins 179 Oct 12 00:18 .git [2021-10-12T00:20:10.251Z] drwxrwxr-x. 3 jenkins jenkins 125 Oct 12 00:18 .github [2021-10-12T00:20:10.251Z] -rw-rw-r--. 1 jenkins jenkins 131 Oct 12 00:18 .gitignore [2021-10-12T00:20:10.251Z] -rw-rw-r--. 1 jenkins jenkins 583 Oct 12 00:18 go.mod [2021-10-12T00:20:10.251Z] -rw-rw-r--. 1 jenkins jenkins 49618 Oct 12 00:18 go.sum [2021-10-12T00:20:10.251Z] -rw-rw-r--. 1 jenkins jenkins 677 Oct 12 00:18 GOVERNANCE.md [2021-10-12T00:20:10.251Z] drwxrwxr-x. 15 jenkins jenkins 224 Oct 12 00:18 internal [2021-10-12T00:20:10.251Z] -rw-rw-r--. 1 jenkins jenkins 880 Oct 12 00:18 Jenkinsfile [2021-10-12T00:20:10.251Z] -rw-rw-r--. 1 jenkins jenkins 11341 Oct 12 00:18 LICENSE [2021-10-12T00:20:10.251Z] -rw-rw-r--. 1 jenkins jenkins 1120 Oct 12 00:18 Makefile [2021-10-12T00:20:10.251Z] drwxrwxr-x. 3 jenkins jenkins 16 Oct 12 00:18 openapi [2021-10-12T00:20:10.251Z] -rw-rw-r--. 1 jenkins jenkins 619 Oct 12 00:18 OWNERS.md [2021-10-12T00:20:10.251Z] drwxrwxr-x. 5 jenkins jenkins 50 Oct 12 00:18 pkg [2021-10-12T00:20:10.251Z] -rw-rw-r--. 1 jenkins jenkins 4877 Oct 12 00:18 README.md [2021-10-12T00:20:10.251Z] drwxrwxr-x. 4 jenkins jenkins 54 Oct 12 00:18 snap [2021-10-12T00:20:10.251Z] -rw-rw-r--. 1 jenkins jenkins 5 Oct 12 00:14 VERSION [2021-10-12T00:20:10.251Z] -rw-rw-r--. 1 jenkins jenkins 222 Oct 12 00:18 version.go [Pipeline] isUnix [Pipeline] sh [2021-10-12T00:20:10.553Z] + 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=ea18bd2a2f0b6188578eb2933ce7eda69b12e170 --label arch=amd64 --label version=0.0.0 . [2021-10-12T00:20:10.553Z] Sending build context to Docker daemon 2.806MB [2021-10-12T00:20:10.553Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-10-12T00:20:10.553Z] Step 2/24 : FROM ${BASE} AS builder [2021-10-12T00:20:10.553Z] ---> 1a5cd4d77dd8 [2021-10-12T00:20:10.553Z] Step 3/24 : ARG MAKE=make build [2021-10-12T00:20:10.553Z] ---> Running in b4c34f89dde6 [2021-10-12T00:20:10.817Z] Removing intermediate container b4c34f89dde6 [2021-10-12T00:20:10.817Z] ---> b807161c740c [2021-10-12T00:20:10.817Z] Step 4/24 : WORKDIR /device-sdk-go [2021-10-12T00:20:10.817Z] ---> Running in fac38fd13e93 [2021-10-12T00:20:10.817Z] Removing intermediate container fac38fd13e93 [2021-10-12T00:20:10.817Z] ---> c353f694d15c [2021-10-12T00:20:10.817Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-12T00:20:10.817Z] ---> Running in f49733c2f1f7 [2021-10-12T00:20:10.817Z] Removing intermediate container f49733c2f1f7 [2021-10-12T00:20:10.817Z] ---> bb88ec9fda8d [2021-10-12T00:20:10.817Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-12T00:20:11.086Z] ---> Running in 880e2422ce59 [2021-10-12T00:20:11.351Z] Removing intermediate container 880e2422ce59 [2021-10-12T00:20:11.351Z] ---> 53fc948934fa [2021-10-12T00:20:11.351Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-10-12T00:20:11.351Z] ---> Running in b7f3e5d91f32 [2021-10-12T00:20:11.611Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/x86_64/APKINDEX.tar.gz [2021-10-12T00:20:12.550Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/x86_64/APKINDEX.tar.gz [2021-10-12T00:20:12.811Z] OK: 219 MiB in 52 packages [2021-10-12T00:20:13.073Z] Removing intermediate container b7f3e5d91f32 [2021-10-12T00:20:13.073Z] ---> c5327a4e0b06 [2021-10-12T00:20:13.073Z] Step 8/24 : COPY . . [2021-10-12T00:20:13.337Z] ---> 517533470ab2 [2021-10-12T00:20:13.337Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-12T00:20:13.337Z] ---> Running in 238aa61dc46c [2021-10-12T00:20:13.911Z] Removing intermediate container 238aa61dc46c [2021-10-12T00:20:13.912Z] ---> df2bf7c4894f [2021-10-12T00:20:13.912Z] Step 10/24 : RUN ${MAKE} [2021-10-12T00:20:13.912Z] ---> Running in 16cd5b2cab4a [2021-10-12T00:20:14.178Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-10-12T00:20:24.272Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-10-12T00:20:25.660Z] Removing intermediate container 16cd5b2cab4a [2021-10-12T00:20:25.660Z] ---> 6a5fc962e0dd [2021-10-12T00:20:25.660Z] Step 11/24 : FROM alpine:3.14 [2021-10-12T00:20:25.921Z] 3.14: Pulling from library/alpine [2021-10-12T00:20:26.186Z] a0d0a0d46f8b: Pulling fs layer [2021-10-12T00:20:26.186Z] a0d0a0d46f8b: Verifying Checksum [2021-10-12T00:20:26.186Z] a0d0a0d46f8b: Download complete [2021-10-12T00:20:26.449Z] a0d0a0d46f8b: Pull complete [2021-10-12T00:20:26.449Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-10-12T00:20:26.449Z] Status: Downloaded newer image for alpine:3.14 [2021-10-12T00:20:26.449Z] ---> 14119a10abf4 [2021-10-12T00:20:26.449Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-12T00:20:26.449Z] ---> Running in 53f2719ff858 [2021-10-12T00:20:26.712Z] Removing intermediate container 53f2719ff858 [2021-10-12T00:20:26.712Z] ---> b51846406247 [2021-10-12T00:20:26.712Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-12T00:20:26.712Z] ---> Running in 12d8f21d340d [2021-10-12T00:20:26.979Z] Removing intermediate container 12d8f21d340d [2021-10-12T00:20:26.979Z] ---> e290b045b3bc [2021-10-12T00:20:26.979Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2021-10-12T00:20:26.980Z] ---> Running in bdf663c1bbc1 [2021-10-12T00:20:27.246Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2021-10-12T00:20:28.189Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2021-10-12T00:20:28.759Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2021-10-12T00:20:28.759Z] (2/5) Installing libsodium (1.0.18-r0) [2021-10-12T00:20:28.759Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2021-10-12T00:20:29.019Z] (4/5) Installing libzmq (4.3.4-r0) [2021-10-12T00:20:29.019Z] (5/5) Installing zeromq (4.3.4-r0) [2021-10-12T00:20:29.281Z] Executing busybox-1.33.1-r3.trigger [2021-10-12T00:20:29.281Z] OK: 8 MiB in 19 packages [2021-10-12T00:20:29.281Z] Removing intermediate container bdf663c1bbc1 [2021-10-12T00:20:29.281Z] ---> b86d54f0f27c [2021-10-12T00:20:29.281Z] Step 15/24 : WORKDIR / [2021-10-12T00:20:29.544Z] ---> Running in cd3aa419fd0c [2021-10-12T00:20:29.544Z] Removing intermediate container cd3aa419fd0c [2021-10-12T00:20:29.544Z] ---> 9228524b22a5 [2021-10-12T00:20:29.544Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-10-12T00:20:29.544Z] ---> 2297c73e3137 [2021-10-12T00:20:29.544Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-10-12T00:20:30.127Z] ---> da3c282101d0 [2021-10-12T00:20:30.127Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-10-12T00:20:30.127Z] ---> 346a1d88ff67 [2021-10-12T00:20:30.127Z] Step 19/24 : EXPOSE 59999 [2021-10-12T00:20:30.127Z] ---> Running in d4aa265324b2 [2021-10-12T00:20:30.127Z] Removing intermediate container d4aa265324b2 [2021-10-12T00:20:30.127Z] ---> d84142bb17fb [2021-10-12T00:20:30.127Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2021-10-12T00:20:30.389Z] ---> Running in b83b9523d92e [2021-10-12T00:20:30.389Z] Removing intermediate container b83b9523d92e [2021-10-12T00:20:30.389Z] ---> b27024b8d4ff [2021-10-12T00:20:30.389Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-10-12T00:20:30.389Z] ---> Running in 5774a525130f [2021-10-12T00:20:30.389Z] Removing intermediate container 5774a525130f [2021-10-12T00:20:30.389Z] ---> 30f86aacf35c [2021-10-12T00:20:30.389Z] Step 22/24 : LABEL arch=amd64 [2021-10-12T00:20:30.389Z] ---> Running in 5cd7f4de4a21 [2021-10-12T00:20:30.651Z] Removing intermediate container 5cd7f4de4a21 [2021-10-12T00:20:30.651Z] ---> 94f2ba548c5c [2021-10-12T00:20:30.651Z] Step 23/24 : LABEL git_sha=ea18bd2a2f0b6188578eb2933ce7eda69b12e170 [2021-10-12T00:20:30.651Z] ---> Running in 11d60b4a53ae [2021-10-12T00:20:30.651Z] Removing intermediate container 11d60b4a53ae [2021-10-12T00:20:30.651Z] ---> a2483bee2dc5 [2021-10-12T00:20:30.651Z] Step 24/24 : LABEL version=0.0.0 [2021-10-12T00:20:30.651Z] ---> Running in d0e4bcba992d [2021-10-12T00:20:30.651Z] Removing intermediate container d0e4bcba992d [2021-10-12T00:20:30.651Z] ---> 2b69fcae3965 [2021-10-12T00:20:30.651Z] [Warning] One or more build-args [ARCH] were not consumed [2021-10-12T00:20:30.651Z] Successfully built 2b69fcae3965 [2021-10-12T00:20:30.651Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-12T00:20:31.261Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-12T00:20:31.261Z] [2021-10-12T00:20:31.261Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-12T00:20:31.572Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-12T00:20:31.572Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-12T00:20:31.572Z] b4d181a07f80: Pulling fs layer [2021-10-12T00:20:31.572Z] a1111a8f2ec3: Pulling fs layer [2021-10-12T00:20:31.572Z] ed53099fbce6: Pulling fs layer [2021-10-12T00:20:31.572Z] dc539afda2c1: Pulling fs layer [2021-10-12T00:20:31.572Z] 77bc0d833cb6: Pulling fs layer [2021-10-12T00:20:31.572Z] 9065ff56babe: Pulling fs layer [2021-10-12T00:20:31.572Z] d287ab97295c: Pulling fs layer [2021-10-12T00:20:31.572Z] dc539afda2c1: Waiting [2021-10-12T00:20:31.572Z] 77bc0d833cb6: Waiting [2021-10-12T00:20:31.572Z] 9065ff56babe: Waiting [2021-10-12T00:20:31.572Z] d287ab97295c: Waiting [2021-10-12T00:20:31.572Z] a1111a8f2ec3: Verifying Checksum [2021-10-12T00:20:31.572Z] a1111a8f2ec3: Download complete [2021-10-12T00:20:31.572Z] dc539afda2c1: Verifying Checksum [2021-10-12T00:20:31.572Z] dc539afda2c1: Download complete [2021-10-12T00:20:31.847Z] ed53099fbce6: Verifying Checksum [2021-10-12T00:20:31.847Z] ed53099fbce6: Download complete [2021-10-12T00:20:31.847Z] 9065ff56babe: Verifying Checksum [2021-10-12T00:20:31.847Z] 9065ff56babe: Download complete [2021-10-12T00:20:31.847Z] 77bc0d833cb6: Verifying Checksum [2021-10-12T00:20:31.847Z] 77bc0d833cb6: Download complete [2021-10-12T00:20:31.847Z] b4d181a07f80: Verifying Checksum [2021-10-12T00:20:31.847Z] b4d181a07f80: Download complete [2021-10-12T00:20:32.431Z] d287ab97295c: Verifying Checksum [2021-10-12T00:20:32.431Z] d287ab97295c: Download complete [2021-10-12T00:20:33.379Z] b4d181a07f80: Pull complete [2021-10-12T00:20:33.643Z] a1111a8f2ec3: Pull complete [2021-10-12T00:20:34.215Z] ed53099fbce6: Pull complete [2021-10-12T00:20:34.215Z] dc539afda2c1: Pull complete [2021-10-12T00:20:34.476Z] 77bc0d833cb6: Pull complete [2021-10-12T00:20:34.476Z] 9065ff56babe: Pull complete [2021-10-12T00:20:41.106Z] d287ab97295c: Pull complete [2021-10-12T00:20:41.106Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-12T00:20:41.106Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-12T00:20:41.106Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-12T00:20:41.175Z] prd-centos7-docker-4c-2g-524 does not seem to be running inside a container [2021-10-12T00:20:41.214Z] $ 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/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-10-12T00:20:43.416Z] $ docker top 4861de6954d13432474ddffd114dc8d4a9de90d9df018c3bc75b545dc585cbc5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-12T00:20:43.830Z] ---> job-cost.sh [2021-10-12T00:20:43.830Z] lf-activate-venv: SKIPPING [2021-10-12T00:20:43.830Z] INFO: No Stack... [2021-10-12T00:20:44.091Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-12T00:20:44.662Z] INFO: Archiving Costs [Pipeline] sh [2021-10-12T00:20:44.964Z] + cat /w/workspace/device-sdk-go/4/archives/cost.csv [2021-10-12T00:20:44.964Z] + cut -d, -f6 [Pipeline] lock [2021-10-12T00:20:44.990Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1028-4-stack-cost] [2021-10-12T00:20:44.997Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1028-4-stack-cost] did not exist. Created. [2021-10-12T00:20:44.997Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1028-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-12T00:20:45.303Z] + echo total: 0.05999999865889549 [Pipeline] stash [2021-10-12T00:20:45.344Z] Stashed 1 file(s) [Pipeline] } [2021-10-12T00:20:45.351Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1028-4-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-12T00:20:45.371Z] $ docker stop --time=1 4861de6954d13432474ddffd114dc8d4a9de90d9df018c3bc75b545dc585cbc5 [2021-10-12T00:20:46.515Z] $ docker rm -f 4861de6954d13432474ddffd114dc8d4a9de90d9df018c3bc75b545dc585cbc5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2021-10-12T00:21:03.135Z] Removing intermediate container 59fafa9cb0d5 [2021-10-12T00:21:03.135Z] ---> f480d5891be4 [2021-10-12T00:21:03.135Z] Step 10/10 : RUN ${MAKE} [2021-10-12T00:21:03.135Z] ---> Running in 11d4a682a0de [2021-10-12T00:21:03.135Z] noop [2021-10-12T00:21:03.136Z] Removing intermediate container 11d4a682a0de [2021-10-12T00:21:03.136Z] ---> e7cc6b1aba76 [2021-10-12T00:21:03.136Z] Successfully built e7cc6b1aba76 [2021-10-12T00:21:03.136Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2021-10-12T00:21:03.504Z] + docker inspect -f . ci-base-image-arm64 [2021-10-12T00:21:03.504Z] . [Pipeline] withDockerContainer [2021-10-12T00:21:03.810Z] prd-ubuntu18.04-docker-arm64-4c-16g-523 does not seem to be running inside a container [2021-10-12T00:21:03.929Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-10-12T00:21:05.678Z] $ docker top 00aee6f7c931a8277d97ebd5e6a39265cb929553937bbdc0404317ede025b889 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-12T00:21:06.717Z] + go version [2021-10-12T00:21:06.717Z] go version go1.16.8 linux/arm64 [Pipeline] } [2021-10-12T00:21:06.741Z] $ docker stop --time=1 00aee6f7c931a8277d97ebd5e6a39265cb929553937bbdc0404317ede025b889 [2021-10-12T00:21:08.735Z] $ docker rm -f 00aee6f7c931a8277d97ebd5e6a39265cb929553937bbdc0404317ede025b889 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-12T00:21:09.479Z] + docker inspect -f . ci-base-image-arm64 [2021-10-12T00:21:09.479Z] . [Pipeline] withDockerContainer [2021-10-12T00:21:09.768Z] prd-ubuntu18.04-docker-arm64-4c-16g-523 does not seem to be running inside a container [2021-10-12T00:21:09.890Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2021-10-12T00:21:11.611Z] $ docker top 9b39edc901ae6abfa164e54c4ce53209517140a6ce92ef5e57a7e30147252306 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2021-10-12T00:21:12.636Z] + make test [2021-10-12T00:21:12.636Z] GO111MODULE=on go test -race -coverprofile=coverage.out ./... [2021-10-12T00:21:39.564Z] ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] [2021-10-12T00:22:47.735Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] [2021-10-12T00:22:47.735Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] [2021-10-12T00:22:47.735Z] ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] [2021-10-12T00:22:58.019Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/application 0.363s coverage: 23.5% of statements [2021-10-12T00:22:58.019Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] [2021-10-12T00:22:58.019Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.199s coverage: 28.1% of statements [2021-10-12T00:22:58.019Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.238s coverage: 78.9% of statements [2021-10-12T00:22:58.019Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/clients 0.207s coverage: 9.0% of statements [2021-10-12T00:22:58.019Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/common [no test files] [2021-10-12T00:22:58.019Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] [2021-10-12T00:22:58.019Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] [2021-10-12T00:22:58.019Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.384s coverage: 28.7% of statements [2021-10-12T00:22:58.019Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] [2021-10-12T00:22:59.490Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/messaging 1.263s coverage: 83.3% of statements [2021-10-12T00:22:59.490Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] [2021-10-12T00:22:59.490Z] ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] [2021-10-12T00:22:59.490Z] ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.384s coverage: 57.8% of statements [2021-10-12T00:23:03.875Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 3.010s coverage: 89.0% of statements [2021-10-12T00:23:03.875Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] [2021-10-12T00:23:03.875Z] ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.204s coverage: 4.9% of statements [2021-10-12T00:23:03.875Z] ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] [2021-10-12T00:23:03.875Z] GO111MODULE=on go vet ./... [2021-10-12T00:24:12.142Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2021-10-12T00:24:12.142Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2021-10-12T00:24:12.142Z] ./bin/test-attribution-txt.sh [Pipeline] } [2021-10-12T00:24:12.169Z] $ docker stop --time=1 9b39edc901ae6abfa164e54c4ce53209517140a6ce92ef5e57a7e30147252306 [2021-10-12T00:24:14.155Z] $ docker rm -f 9b39edc901ae6abfa164e54c4ce53209517140a6ce92ef5e57a7e30147252306 [Pipeline] // withDockerContainer [Pipeline] sh [2021-10-12T00:24:15.397Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2021-10-12T00:24:15.423Z] Warning: overwriting stash ‘coverage-report’ [2021-10-12T00:24:16.332Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2021-10-12T00:24:16.835Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2021-10-12T00:24:17.185Z] + ls -al . [2021-10-12T00:24:17.185Z] total 300 [2021-10-12T00:24:17.185Z] drwxrwxr-x 10 jenkins jenkins 4096 Oct 12 00:24 . [2021-10-12T00:24:17.185Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 00:18 .. [2021-10-12T00:24:17.185Z] -rw-rw-r-- 1 jenkins jenkins 140 Oct 12 00:18 .dockerignore [2021-10-12T00:24:17.185Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 12 00:18 .git [2021-10-12T00:24:17.185Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 00:18 .github [2021-10-12T00:24:17.185Z] -rw-rw-r-- 1 jenkins jenkins 131 Oct 12 00:18 .gitignore [2021-10-12T00:24:17.185Z] -rw-rw-r-- 1 jenkins jenkins 24816 Oct 12 00:18 CHANGELOG.md [2021-10-12T00:24:17.185Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 12 00:18 GOVERNANCE.md [2021-10-12T00:24:17.185Z] -rw-rw-r-- 1 jenkins jenkins 880 Oct 12 00:18 Jenkinsfile [2021-10-12T00:24:17.185Z] -rw-rw-r-- 1 jenkins jenkins 11341 Oct 12 00:18 LICENSE [2021-10-12T00:24:17.185Z] -rw-rw-r-- 1 jenkins jenkins 1120 Oct 12 00:18 Makefile [2021-10-12T00:24:17.185Z] -rw-rw-r-- 1 jenkins jenkins 619 Oct 12 00:18 OWNERS.md [2021-10-12T00:24:17.185Z] -rw-rw-r-- 1 jenkins jenkins 4877 Oct 12 00:18 README.md [2021-10-12T00:24:17.185Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 12 00:14 VERSION [2021-10-12T00:24:17.185Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 12 00:18 bin [2021-10-12T00:24:17.185Z] -rw-r--r-- 1 jenkins jenkins 126433 Oct 12 00:23 coverage.out [2021-10-12T00:24:17.185Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 12 00:18 example [2021-10-12T00:24:17.185Z] -rw-rw-r-- 1 jenkins jenkins 583 Oct 12 00:18 go.mod [2021-10-12T00:24:17.185Z] -rw-rw-r-- 1 jenkins jenkins 49618 Oct 12 00:18 go.sum [2021-10-12T00:24:17.185Z] drwxrwxr-x 15 jenkins jenkins 4096 Oct 12 00:18 internal [2021-10-12T00:24:17.185Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 12 00:18 openapi [2021-10-12T00:24:17.185Z] drwxrwxr-x 5 jenkins jenkins 4096 Oct 12 00:18 pkg [2021-10-12T00:24:17.185Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 12 00:18 snap [2021-10-12T00:24:17.185Z] -rw-rw-r-- 1 jenkins jenkins 222 Oct 12 00:18 version.go [Pipeline] isUnix [Pipeline] sh [2021-10-12T00:24:17.543Z] + 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=ea18bd2a2f0b6188578eb2933ce7eda69b12e170 --label arch=arm64 --label version=0.0.0 . [2021-10-12T00:24:17.819Z] Sending build context to Docker daemon 2.805MB [2021-10-12T00:24:18.093Z] Step 1/24 : ARG BASE=golang:1.16-alpine3.14 [2021-10-12T00:24:18.093Z] Step 2/24 : FROM ${BASE} AS builder [2021-10-12T00:24:18.093Z] ---> e7cc6b1aba76 [2021-10-12T00:24:18.093Z] Step 3/24 : ARG MAKE=make build [2021-10-12T00:24:18.093Z] ---> Running in 6d7726bd4d57 [2021-10-12T00:24:18.693Z] Removing intermediate container 6d7726bd4d57 [2021-10-12T00:24:18.693Z] ---> 96082320f696 [2021-10-12T00:24:18.693Z] Step 4/24 : WORKDIR /device-sdk-go [2021-10-12T00:24:18.693Z] ---> Running in 8c59cf35e1cb [2021-10-12T00:24:19.295Z] Removing intermediate container 8c59cf35e1cb [2021-10-12T00:24:19.295Z] ---> 096ca4c72ec3 [2021-10-12T00:24:19.295Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-12T00:24:19.295Z] ---> Running in a6680cce3d30 [2021-10-12T00:24:19.919Z] Removing intermediate container a6680cce3d30 [2021-10-12T00:24:19.919Z] ---> 60a1a697e2f1 [2021-10-12T00:24:19.919Z] Step 6/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-12T00:24:19.919Z] ---> Running in 0e22a7235c76 [2021-10-12T00:24:22.586Z] Removing intermediate container 0e22a7235c76 [2021-10-12T00:24:22.586Z] ---> 8f146c0d0b27 [2021-10-12T00:24:22.586Z] Step 7/24 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev [2021-10-12T00:24:22.586Z] ---> Running in 057f82b8797d [2021-10-12T00:24:24.067Z] fetch https://nl.alpinelinux.org/alpine/v3.13/main/aarch64/APKINDEX.tar.gz [2021-10-12T00:24:25.063Z] fetch https://nl.alpinelinux.org/alpine/v3.13/community/aarch64/APKINDEX.tar.gz [2021-10-12T00:24:26.059Z] OK: 218 MiB in 52 packages [2021-10-12T00:24:27.055Z] Removing intermediate container 057f82b8797d [2021-10-12T00:24:27.055Z] ---> 6ad25665358d [2021-10-12T00:24:27.055Z] Step 8/24 : COPY . . [2021-10-12T00:24:28.522Z] ---> f525e576666e [2021-10-12T00:24:28.522Z] Step 9/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2021-10-12T00:24:28.522Z] ---> Running in 6f09675783af [2021-10-12T00:24:31.181Z] Removing intermediate container 6f09675783af [2021-10-12T00:24:31.181Z] ---> f7694be294f4 [2021-10-12T00:24:31.181Z] Step 10/24 : RUN ${MAKE} [2021-10-12T00:24:31.181Z] ---> Running in b904f8172f18 [2021-10-12T00:24:32.179Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v2.Version=0.0.0" -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2021-10-12T00:25:11.313Z] CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [2021-10-12T00:25:11.313Z] Removing intermediate container b904f8172f18 [2021-10-12T00:25:11.313Z] ---> 8100180b3abd [2021-10-12T00:25:11.313Z] Step 11/24 : FROM alpine:3.14 [2021-10-12T00:25:11.313Z] 3.14: Pulling from library/alpine [2021-10-12T00:25:11.313Z] 552d1f2373af: Pulling fs layer [2021-10-12T00:25:11.592Z] 552d1f2373af: Verifying Checksum [2021-10-12T00:25:11.592Z] 552d1f2373af: Download complete [2021-10-12T00:25:12.196Z] 552d1f2373af: Pull complete [2021-10-12T00:25:12.196Z] Digest: sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a [2021-10-12T00:25:12.196Z] Status: Downloaded newer image for alpine:3.14 [2021-10-12T00:25:12.196Z] ---> bb3de5531c18 [2021-10-12T00:25:12.196Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2020: Intel' [2021-10-12T00:25:12.475Z] ---> Running in 8dd22de4a9bd [2021-10-12T00:25:13.086Z] Removing intermediate container 8dd22de4a9bd [2021-10-12T00:25:13.086Z] ---> 084eaf35010c [2021-10-12T00:25:13.086Z] Step 13/24 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2021-10-12T00:25:13.086Z] ---> Running in 67ca657ebd2b [2021-10-12T00:25:15.742Z] Removing intermediate container 67ca657ebd2b [2021-10-12T00:25:15.742Z] ---> e31627d3c0a4 [2021-10-12T00:25:15.742Z] Step 14/24 : RUN apk add --update --no-cache zeromq [2021-10-12T00:25:15.742Z] ---> Running in 1d6c74959340 [2021-10-12T00:25:16.736Z] fetch https://nl.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2021-10-12T00:25:17.739Z] fetch https://nl.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2021-10-12T00:25:18.732Z] (1/5) Installing libgcc (10.3.1_git20210424-r2) [2021-10-12T00:25:18.732Z] (2/5) Installing libsodium (1.0.18-r0) [2021-10-12T00:25:18.732Z] (3/5) Installing libstdc++ (10.3.1_git20210424-r2) [2021-10-12T00:25:19.010Z] (4/5) Installing libzmq (4.3.4-r0) [2021-10-12T00:25:19.290Z] (5/5) Installing zeromq (4.3.4-r0) [2021-10-12T00:25:19.290Z] Executing busybox-1.33.1-r3.trigger [2021-10-12T00:25:19.290Z] OK: 8 MiB in 19 packages [2021-10-12T00:25:20.751Z] Removing intermediate container 1d6c74959340 [2021-10-12T00:25:20.751Z] ---> 1c2827836bc2 [2021-10-12T00:25:20.751Z] Step 15/24 : WORKDIR / [2021-10-12T00:25:20.751Z] ---> Running in 0b2cc1340e9e [2021-10-12T00:25:21.359Z] Removing intermediate container 0b2cc1340e9e [2021-10-12T00:25:21.359Z] ---> ecfa2d000342 [2021-10-12T00:25:21.359Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2021-10-12T00:25:21.973Z] ---> 5a4996b3092c [2021-10-12T00:25:21.973Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2021-10-12T00:25:23.430Z] ---> 38f8ae7f9dff [2021-10-12T00:25:23.430Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2021-10-12T00:25:24.035Z] ---> 5753aa4497d9 [2021-10-12T00:25:24.035Z] Step 19/24 : EXPOSE 59999 [2021-10-12T00:25:24.315Z] ---> Running in adba3a0effe0 [2021-10-12T00:25:24.595Z] Removing intermediate container adba3a0effe0 [2021-10-12T00:25:24.595Z] ---> 5c9e6a8447c3 [2021-10-12T00:25:24.595Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2021-10-12T00:25:24.871Z] ---> Running in 4a5fa1463412 [2021-10-12T00:25:25.473Z] Removing intermediate container 4a5fa1463412 [2021-10-12T00:25:25.473Z] ---> 5bc1de35fc3f [2021-10-12T00:25:25.473Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2021-10-12T00:25:25.473Z] ---> Running in 8b8d05f1fcfe [2021-10-12T00:25:25.752Z] Removing intermediate container 8b8d05f1fcfe [2021-10-12T00:25:25.752Z] ---> 8455a6e115cf [2021-10-12T00:25:25.752Z] Step 22/24 : LABEL arch=arm64 [2021-10-12T00:25:26.030Z] ---> Running in 3bd8a65ef253 [2021-10-12T00:25:26.312Z] Removing intermediate container 3bd8a65ef253 [2021-10-12T00:25:26.312Z] ---> 802776c7ae1e [2021-10-12T00:25:26.312Z] Step 23/24 : LABEL git_sha=ea18bd2a2f0b6188578eb2933ce7eda69b12e170 [2021-10-12T00:25:26.596Z] ---> Running in d91e944fb189 [2021-10-12T00:25:27.208Z] Removing intermediate container d91e944fb189 [2021-10-12T00:25:27.208Z] ---> 69599862d209 [2021-10-12T00:25:27.208Z] Step 24/24 : LABEL version=0.0.0 [2021-10-12T00:25:27.208Z] ---> Running in 0fe9d0dce3cb [2021-10-12T00:25:27.821Z] Removing intermediate container 0fe9d0dce3cb [2021-10-12T00:25:27.821Z] ---> 24d366355e4b [2021-10-12T00:25:27.821Z] [Warning] One or more build-args [ARCH] were not consumed [2021-10-12T00:25:27.821Z] Successfully built 24d366355e4b [2021-10-12T00:25:27.821Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2021-10-12T00:25:28.359Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-12T00:25:28.359Z] [2021-10-12T00:25:28.359Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2021-10-12T00:25:28.735Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-12T00:25:29.019Z] arm64: Pulling from edgex-lftools-log-publisher [2021-10-12T00:25:29.019Z] 448f6bf000e3: Pulling fs layer [2021-10-12T00:25:29.019Z] f757da607395: Pulling fs layer [2021-10-12T00:25:29.019Z] 05883995daec: Pulling fs layer [2021-10-12T00:25:29.019Z] 8603b9c90790: Pulling fs layer [2021-10-12T00:25:29.019Z] 1560dd03e051: Pulling fs layer [2021-10-12T00:25:29.019Z] 27f5ce0e4adf: Pulling fs layer [2021-10-12T00:25:29.019Z] c2d8d7efcc4b: Pulling fs layer [2021-10-12T00:25:29.019Z] 8603b9c90790: Waiting [2021-10-12T00:25:29.019Z] 1560dd03e051: Waiting [2021-10-12T00:25:29.019Z] 27f5ce0e4adf: Waiting [2021-10-12T00:25:29.019Z] c2d8d7efcc4b: Waiting [2021-10-12T00:25:29.301Z] f757da607395: Verifying Checksum [2021-10-12T00:25:29.301Z] f757da607395: Download complete [2021-10-12T00:25:29.301Z] 8603b9c90790: Verifying Checksum [2021-10-12T00:25:29.301Z] 8603b9c90790: Download complete [2021-10-12T00:25:29.301Z] 05883995daec: Verifying Checksum [2021-10-12T00:25:29.301Z] 05883995daec: Download complete [2021-10-12T00:25:29.301Z] 27f5ce0e4adf: Verifying Checksum [2021-10-12T00:25:29.301Z] 27f5ce0e4adf: Download complete [2021-10-12T00:25:29.301Z] 1560dd03e051: Verifying Checksum [2021-10-12T00:25:29.301Z] 1560dd03e051: Download complete [2021-10-12T00:25:29.922Z] 448f6bf000e3: Verifying Checksum [2021-10-12T00:25:29.922Z] 448f6bf000e3: Download complete [2021-10-12T00:25:32.642Z] c2d8d7efcc4b: Verifying Checksum [2021-10-12T00:25:32.642Z] c2d8d7efcc4b: Download complete [2021-10-12T00:25:34.113Z] 448f6bf000e3: Pull complete [2021-10-12T00:25:34.725Z] f757da607395: Pull complete [2021-10-12T00:25:36.189Z] 05883995daec: Pull complete [2021-10-12T00:25:36.467Z] 8603b9c90790: Pull complete [2021-10-12T00:25:37.464Z] 1560dd03e051: Pull complete [2021-10-12T00:25:37.743Z] 27f5ce0e4adf: Pull complete [2021-10-12T00:25:52.904Z] c2d8d7efcc4b: Pull complete [2021-10-12T00:25:52.905Z] Digest: sha256:42f6a1c33103aa4ecfebf648e29883a20fd84132c0f0d4f855d8bcfd8dd9c454 [2021-10-12T00:25:52.905Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2021-10-12T00:25:52.905Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2021-10-12T00:25:53.152Z] prd-ubuntu18.04-docker-arm64-4c-16g-523 does not seem to be running inside a container [2021-10-12T00:25:53.253Z] $ 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/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2021-10-12T00:25:57.733Z] $ docker top f08d71aeee58106cfb83ac4eb3822e20900f629dd0d8035b13907155bcb456b5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2021-10-12T00:25:58.686Z] ---> job-cost.sh [2021-10-12T00:25:58.686Z] lf-activate-venv: SKIPPING [2021-10-12T00:25:58.686Z] INFO: No Stack... [2021-10-12T00:26:04.111Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2021-10-12T00:26:04.390Z] INFO: Archiving Costs [Pipeline] sh [2021-10-12T00:26:05.097Z] + cut -d, -f6 [2021-10-12T00:26:05.097Z] + cat /w/workspace/device-sdk-go/4/archives/cost.csv [Pipeline] lock [2021-10-12T00:26:05.161Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1028-4-stack-cost] [2021-10-12T00:26:05.176Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1028-4-stack-cost] did not exist. Created. [2021-10-12T00:26:05.176Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1028-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2021-10-12T00:26:05.877Z] /w/workspace/device-sdk-go/4@tmp/durable-59a3980d/script.sh: 1: /w/workspace/device-sdk-go/4@tmp/durable-59a3980d/script.sh: Syntax error: Unterminated quoted string [Pipeline] sh [2021-10-12T00:26:06.566Z] + echo total: 0.10999999940395355 [Pipeline] stash [2021-10-12T00:26:06.596Z] Warning: overwriting stash ‘stack-cost’ [2021-10-12T00:26:06.658Z] Stashed 1 file(s) [Pipeline] } [2021-10-12T00:26:06.666Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1028-4-stack-cost] [Pipeline] // lock [Pipeline] } [2021-10-12T00:26:06.673Z] $ docker stop --time=1 f08d71aeee58106cfb83ac4eb3822e20900f629dd0d8035b13907155bcb456b5 [2021-10-12T00:26:08.374Z] $ docker rm -f f08d71aeee58106cfb83ac4eb3822e20900f629dd0d8035b13907155bcb456b5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2021-10-12T00:26:09.122Z] provisioning config files... [2021-10-12T00:26:09.130Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1028@tmp/config5113162792461314645tmp [Pipeline] { [Pipeline] sh [2021-10-12T00:26:09.446Z] + set +x [2021-10-12T00:26:09.446Z] + curl -s https://codecov.io/bash [2021-10-12T00:26:09.446Z] + bash -s -- [2021-10-12T00:26:09.446Z] [2021-10-12T00:26:09.446Z] _____ _ [2021-10-12T00:26:09.446Z] / ____| | | [2021-10-12T00:26:09.446Z] | | ___ __| | ___ ___ _____ __ [2021-10-12T00:26:09.446Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2021-10-12T00:26:09.446Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2021-10-12T00:26:09.446Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2021-10-12T00:26:09.446Z] Bash-1.0.6 [2021-10-12T00:26:09.446Z] [2021-10-12T00:26:09.446Z] [2021-10-12T00:26:09.446Z] ==> git version 2.24.4 found [2021-10-12T00:26:09.446Z] ==> curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.53.1 zlib/1.2.7 libidn/1.28 libssh2/1.8.0 [2021-10-12T00:26:09.446Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp [2021-10-12T00:26:09.446Z] Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets [2021-10-12T00:26:09.446Z] ==> Jenkins CI detected. [2021-10-12T00:26:09.446Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1028 [2021-10-12T00:26:09.446Z] project root: . [2021-10-12T00:26:09.446Z] --> token set from env [2021-10-12T00:26:09.447Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2021-10-12T00:26:09.447Z] ==> Running gcov in . (disable via -X gcov) [2021-10-12T00:26:09.447Z] ==> Python coveragepy not found [2021-10-12T00:26:09.447Z] ==> Searching for coverage reports in: [2021-10-12T00:26:09.447Z] + . [2021-10-12T00:26:09.447Z] -> Found 1 reports [2021-10-12T00:26:09.447Z] ==> Detecting git/mercurial file structure [2021-10-12T00:26:09.447Z] ==> Reading reports [2021-10-12T00:26:09.447Z] + ./coverage.out bytes=126433 [2021-10-12T00:26:09.447Z] ==> Appending adjustments [2021-10-12T00:26:09.447Z] https://docs.codecov.io/docs/fixing-reports [2021-10-12T00:26:09.709Z] + Found adjustments [2021-10-12T00:26:09.709Z] ==> Gzipping contents [2021-10-12T00:26:09.709Z] 16K /tmp/codecov.HKuocr.gz [2021-10-12T00:26:09.709Z] ==> Uploading reports [2021-10-12T00:26:09.709Z] url: https://codecov.io [2021-10-12T00:26:09.709Z] query: branch=PR-1028&commit=ea18bd2a2f0b6188578eb2933ce7eda69b12e170&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1028%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1028&job=&cmd_args= [2021-10-12T00:26:09.709Z] -> Pinging Codecov [2021-10-12T00:26:09.709Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1028&commit=ea18bd2a2f0b6188578eb2933ce7eda69b12e170&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1028%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1028&job=&cmd_args= [2021-10-12T00:26:10.278Z] -> Uploading to [2021-10-12T00:26:10.278Z] https://storage.googleapis.com/codecov/v4/raw/2021-10-12/7E55EF52A471D76F132DFD9A03CDDE97/ea18bd2a2f0b6188578eb2933ce7eda69b12e170/50ea5723-66b7-4bef-9a18-4ae8ba94f967.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20211012%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20211012T002610Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=471a0f7750435b288badbec8e88fc9460330060fa20b099f58b081cb8adc7000 [2021-10-12T00:26:10.278Z] % Total % Received % Xferd Average Speed Time Time Time Current [2021-10-12T00:26:10.278Z] Dload Upload Total Spent Left Speed [2021-10-12T00:26:10.539Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16095 0 0 100 16095 0 51544 --:--:-- --:--:-- --:--:-- 51586 [2021-10-12T00:26:10.539Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-sdk-go/commit/ea18bd2a2f0b6188578eb2933ce7eda69b12e170 [Pipeline] } [2021-10-12T00:26:10.546Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2021-10-12T00:26:11.888Z] + '[' -d /w/workspace/gexfoundry_device-sdk-go_PR-1028/archives ']' [Pipeline] libraryResource [Pipeline] sh [2021-10-12T00:26:12.205Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-12T00:26:12.776Z] ---> package-listing.sh [2021-10-12T00:26:12.776Z] ++ facter osfamily [2021-10-12T00:26:12.776Z] ++ tr '[:upper:]' '[:lower:]' [2021-10-12T00:26:12.776Z] + OS_FAMILY=redhat [2021-10-12T00:26:12.776Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1028 [2021-10-12T00:26:12.776Z] + START_PACKAGES=/tmp/packages_start.txt [2021-10-12T00:26:12.776Z] + END_PACKAGES=/tmp/packages_end.txt [2021-10-12T00:26:12.776Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2021-10-12T00:26:12.776Z] + PACKAGES=/tmp/packages_start.txt [2021-10-12T00:26:12.776Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1028 ']' [2021-10-12T00:26:12.776Z] + PACKAGES=/tmp/packages_end.txt [2021-10-12T00:26:12.776Z] + case "${OS_FAMILY}" in [2021-10-12T00:26:12.776Z] + sort [2021-10-12T00:26:12.776Z] + rpm -qa [2021-10-12T00:26:13.720Z] + '[' -f /tmp/packages_start.txt ']' [2021-10-12T00:26:13.720Z] + '[' -f /tmp/packages_end.txt ']' [2021-10-12T00:26:13.720Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2021-10-12T00:26:13.720Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1028 ']' [2021-10-12T00:26:13.720Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1028/archives/ [2021-10-12T00:26:13.720Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1028/archives/ [Pipeline] echo [2021-10-12T00:26:13.733Z] 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-1028/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2021-10-12T00:26:14.014Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2021-10-12T00:26:14.581Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-12T00:26:14.581Z] [2021-10-12T00:26:14.581Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2021-10-12T00:26:14.886Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-12T00:26:14.886Z] latest: Pulling from edgex-lftools-log-publisher [2021-10-12T00:26:14.886Z] b4d181a07f80: Pulling fs layer [2021-10-12T00:26:14.886Z] a1111a8f2ec3: Pulling fs layer [2021-10-12T00:26:14.886Z] ed53099fbce6: Pulling fs layer [2021-10-12T00:26:14.886Z] dc539afda2c1: Pulling fs layer [2021-10-12T00:26:14.886Z] 77bc0d833cb6: Pulling fs layer [2021-10-12T00:26:14.886Z] 9065ff56babe: Pulling fs layer [2021-10-12T00:26:14.886Z] d287ab97295c: Pulling fs layer [2021-10-12T00:26:14.886Z] dc539afda2c1: Waiting [2021-10-12T00:26:14.886Z] 77bc0d833cb6: Waiting [2021-10-12T00:26:14.886Z] 9065ff56babe: Waiting [2021-10-12T00:26:14.886Z] d287ab97295c: Waiting [2021-10-12T00:26:14.886Z] a1111a8f2ec3: Verifying Checksum [2021-10-12T00:26:14.886Z] a1111a8f2ec3: Download complete [2021-10-12T00:26:14.886Z] dc539afda2c1: Verifying Checksum [2021-10-12T00:26:14.886Z] dc539afda2c1: Download complete [2021-10-12T00:26:15.156Z] 77bc0d833cb6: Verifying Checksum [2021-10-12T00:26:15.156Z] 77bc0d833cb6: Download complete [2021-10-12T00:26:15.156Z] ed53099fbce6: Verifying Checksum [2021-10-12T00:26:15.156Z] ed53099fbce6: Download complete [2021-10-12T00:26:15.156Z] 9065ff56babe: Verifying Checksum [2021-10-12T00:26:15.156Z] 9065ff56babe: Download complete [2021-10-12T00:26:15.156Z] b4d181a07f80: Verifying Checksum [2021-10-12T00:26:15.156Z] b4d181a07f80: Download complete [2021-10-12T00:26:15.738Z] d287ab97295c: Verifying Checksum [2021-10-12T00:26:15.738Z] d287ab97295c: Download complete [2021-10-12T00:26:16.713Z] b4d181a07f80: Pull complete [2021-10-12T00:26:16.976Z] a1111a8f2ec3: Pull complete [2021-10-12T00:26:17.239Z] ed53099fbce6: Pull complete [2021-10-12T00:26:17.507Z] dc539afda2c1: Pull complete [2021-10-12T00:26:17.771Z] 77bc0d833cb6: Pull complete [2021-10-12T00:26:17.771Z] 9065ff56babe: Pull complete [2021-10-12T00:26:23.106Z] d287ab97295c: Pull complete [2021-10-12T00:26:23.106Z] Digest: sha256:0c69325c24349bfb3ea32a3c3cbcab1fb66df42c981276dd8ebcf6aa441257c4 [2021-10-12T00:26:23.106Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2021-10-12T00:26:23.106Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2021-10-12T00:26:23.170Z] prd-centos7-docker-4c-2g-519 does not seem to be running inside a container [2021-10-12T00:26:23.207Z] $ 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-1028/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-1028 -v /w/workspace/gexfoundry_device-sdk-go_PR-1028:/w/workspace/gexfoundry_device-sdk-go_PR-1028:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1028@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1028@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2021-10-12T00:26:26.445Z] $ docker top f21c4e1ca25659d4668bb9d0e7f7c3c62198a4334404ff3a1e4b9aafebf07d68 -eo pid,comm [Pipeline] { [Pipeline] sh [2021-10-12T00:26:26.796Z] + touch /tmp/pre-build-complete [Pipeline] sh [2021-10-12T00:26:27.091Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2021-10-12T00:26:27.380Z] + ls /var/log/sa-host [2021-10-12T00:26:27.381Z] + sadf -c /var/log/sa-host/sa12 [2021-10-12T00:26:27.381Z] file_magic: OK [2021-10-12T00:26:27.381Z] HZ: Using current value: 100 [2021-10-12T00:26:27.381Z] file_header: OK [2021-10-12T00:26:27.381Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-10-12T00:26:27.381Z] Statistics: [2021-10-12T00:26:27.381Z] HRHnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-12T00:26:27.381Z] File successfully converted to sysstat format version 12.0.3 [2021-10-12T00:26:27.381Z] + sadf -c /var/log/sa-host/sa30 [2021-10-12T00:26:27.381Z] file_magic: OK [2021-10-12T00:26:27.381Z] HZ: Using current value: 100 [2021-10-12T00:26:27.381Z] file_header: OK [2021-10-12T00:26:27.381Z] file_activity: A_CPU A_PCSW A_SWAP A_PAGE A_IO A_MEMORY A_HUGE A_KTABLES A_QUEUE A_SERIAL A_DISK A_NET_DEV A_NET_EDEV A_NET_NFS A_NET_NFSD A_NET_SOCK OK [2021-10-12T00:26:27.381Z] Statistics: [2021-10-12T00:26:27.381Z] Hnuu...uuuununununu...Hnuu...uuuununununu... [2021-10-12T00:26:27.381Z] File successfully converted to sysstat format version 12.0.3 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2021-10-12T00:26:27.661Z] provisioning config files... [2021-10-12T00:26:27.670Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1028@tmp/config9059896146072683283tmp [Pipeline] { [Pipeline] echo [2021-10-12T00:26:27.684Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-12T00:26:27.985Z] ---> create-netrc.sh [Pipeline] } [2021-10-12T00:26:27.993Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2021-10-12T00:26:28.345Z] ---> python-tools-install.sh [Pipeline] echo [2021-10-12T00:26:28.367Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-12T00:26:28.672Z] ---> sudo-logs.sh [2021-10-12T00:26:28.672Z] Archiving 'sudo' log.. [2021-10-12T00:26:28.672Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-519.novalocal: Name or service not known [2021-10-12T00:26:28.672Z] sudo: unable to resolve host prd-centos7-docker-4c-2g-519.novalocal: Name or service not known [Pipeline] unstash [Pipeline] echo [2021-10-12T00:26:28.703Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-12T00:26:28.997Z] ---> job-cost.sh [2021-10-12T00:26:28.997Z] lf-activate-venv: SKIPPING [2021-10-12T00:26:28.997Z] DEBUG: total: 0.10999999940395355 [2021-10-12T00:26:28.997Z] INFO: Retrieving Stack Cost... [2021-10-12T00:26:29.573Z] INFO: Retrieving Pricing Info for: v3-standard-2 [2021-10-12T00:26:29.836Z] INFO: Archiving Costs [Pipeline] echo [2021-10-12T00:26:29.847Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2021-10-12T00:26:30.149Z] ---> logs-deploy.sh [2021-10-12T00:26:30.149Z] lf-activate-venv: SKIPPING [2021-10-12T00:26:30.149Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1028/4 [2021-10-12T00:26:30.149Z] INFO: archiving workspace using pattern(s): [2021-10-12T00:26:30.730Z] Archives upload complete. [2021-10-12T00:26:30.993Z] INFO: archiving logs to Nexus